api-viewer: drop unused clicmdhash
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 2 Jun 2021 14:08:06 +0000 (16:08 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 2 Jun 2021 14:08:06 +0000 (16:08 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/api-viewer/APIViewer.js

index 82e6a1c..cd7865d 100644 (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) {