add missing GET param to getstoragestats url

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
(cherry picked from commit ca6a724503)
This commit is contained in:
Julien Veyssier 2022-07-05 13:43:58 +02:00 committed by backportbot-nextcloud[bot]
parent 6ffe042d01
commit e6ee00cd40

View 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;