Signed-off-by: Moayad Almalat <m.alma...@proxmox.com> * when clicked on "execute" in api-view the page not handling. * In browser console printed this error: 'TypeError: Cannot read property 'properties' of undefined' * https://forum.proxmox.com/threads/api-browse-execute-returns-error.78257/ --- api-viewer/apidata.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/api-viewer/apidata.js b/api-viewer/apidata.js index a438090..048509f 100644 --- a/api-viewer/apidata.js +++ b/api-viewer/apidata.js @@ -37324,8 +37324,11 @@ var pveapi = [ "protected" : 1, "proxyto" : "node", "returns" : { - "type" : "array" - } + "items" : { + "properties" : {}, + "type" : "array" + } + }, } }, "leaf" : 1, -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel