From: Thomas Lamprecht Date: Wed, 2 Jun 2021 14:08:06 +0000 (+0200) Subject: api-viewer: drop unused clicmdhash X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=5eb59676c3c0515d7116a2bec64a969933e4ee0f;hp=8556628c93f799dbfb734f85a2908bd7c0e70328;p=proxmox-widget-toolkit.git api-viewer: drop unused clicmdhash Signed-off-by: Thomas Lamprecht --- diff --git a/src/api-viewer/APIViewer.js b/src/api-viewer/APIViewer.js index 82e6a1c..cd7865d 100644 --- a/src/api-viewer/APIViewer.js +++ b/src/api-viewer/APIViewer.js @@ -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) {