api-viewer: drop unused clicmdhash
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
8556628c93
commit
5eb59676c3
@ -152,17 +152,8 @@ Ext.onReady(function() {
|
||||
let render_docu = function(data) {
|
||||
let md = data.info;
|
||||
|
||||
// console.dir(data);
|
||||
|
||||
let items = [];
|
||||
|
||||
let clicmdhash = {
|
||||
GET: 'get',
|
||||
POST: 'create',
|
||||
PUT: 'set',
|
||||
DELETE: 'delete',
|
||||
};
|
||||
|
||||
Ext.Array.each(['GET', 'POST', 'PUT', 'DELETE'], function(method) {
|
||||
let info = md[method];
|
||||
if (info) {
|
||||
|
Loading…
Reference in New Issue
Block a user