From: Julien Veyssier Date: Tue, 5 Jul 2022 11:43:58 +0000 (+0200) Subject: add missing GET param to getstoragestats url X-Git-Tag: v24.0.3rc1~19^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F33113%2Fhead;p=nextcloud-server.git add missing GET param to getstoragestats url Signed-off-by: Julien Veyssier (cherry picked from commit ca6a7245032e87f6d7f65c8e796cc0f176659677) --- diff --git a/apps/files/js/files.js b/apps/files/js/files.js index e02a69cd13a..8645719f82b 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -25,7 +25,7 @@ state.call.abort(); } state.dir = currentDir; - state.call = $.getJSON(OC.generateUrl('apps/files/ajax/getstoragestats', { + state.call = $.getJSON(OC.generateUrl('apps/files/ajax/getstoragestats?dir={dir}', { dir: currentDir, }), function(response) { state.dir = null;