mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix getstorage call
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
48d843858d
commit
448044d831
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ class AjaxController extends Controller {
|
|||
* @NoAdminRequired
|
||||
*/
|
||||
public function getStorageStats(string $dir = '/'): JSONResponse {
|
||||
\OC_Util::setupFS();
|
||||
try {
|
||||
return new JSONResponse([
|
||||
'status' => 'success',
|
||||
|
|
|
|||
Loading…
Reference in a new issue