aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorJulien Veyssier <eneiluj@posteo.net>2022-07-05 13:43:58 +0200
committerJulien Veyssier <eneiluj@posteo.net>2022-07-05 13:43:58 +0200
commitca6a7245032e87f6d7f65c8e796cc0f176659677 (patch)
treee526f865e46a8643936c91496edce2935672a86f /apps/files
parentee793572cb9acc9d688b1ff191a59e8699af9da1 (diff)
downloadnextcloud-server-ca6a7245032e87f6d7f65c8e796cc0f176659677.tar.gz
nextcloud-server-ca6a7245032e87f6d7f65c8e796cc0f176659677.zip
add missing GET param to getstoragestats url
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/files.js2
1 files changed, 1 insertions, 1 deletions
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;