api-viewer: drop unused clicmdhash

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-06-02 16:08:06 +02:00
parent 8556628c93
commit 5eb59676c3

View File

@ -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) {