]> source.dussan.org Git - nextcloud-server.git/commitdiff
add missing GET param to getstoragestats url 33111/head
authorJulien Veyssier <eneiluj@posteo.net>
Tue, 5 Jul 2022 11:43:58 +0000 (13:43 +0200)
committerJulien Veyssier <eneiluj@posteo.net>
Tue, 5 Jul 2022 11:43:58 +0000 (13:43 +0200)
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
apps/files/js/files.js

index e02a69cd13a71eed93f762ba9f0776b6dcae1ec5..8645719f82b0deefa0d5f3ef27e0dfec76b35bf2 100644 (file)
@@ -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;