]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
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 82e6a1ca6f2074a052bc95f277225115b8a3f4e2..cd7865d00841abbf7455ef16273c3dbbcaf17907 100644 (file)
@@ -152,17 +152,8 @@ Ext.onReady(function() {
     let render_docu = function(data) {
        let md = data.info;
 
     let render_docu = function(data) {
        let md = data.info;
 
-       // console.dir(data);
-
        let items = [];
 
        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) {
        Ext.Array.each(['GET', 'POST', 'PUT', 'DELETE'], function(method) {
            let info = md[method];
            if (info) {