From 0c949563abbdd811a928c04e6ce3852799d74902 Mon Sep 17 00:00:00 2001 From: Sergio Brighenti Date: Fri, 28 Feb 2020 14:30:12 +0100 Subject: [PATCH] typo --- app/Controllers/UploadController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/UploadController.php b/app/Controllers/UploadController.php index ca1a11c..be41306 100644 --- a/app/Controllers/UploadController.php +++ b/app/Controllers/UploadController.php @@ -133,7 +133,7 @@ class UploadController extends Controller return json($response, $json, 201); } catch (\Exception $e) { - $this->updateUserQuota($request, $user->id, $file->getSize(), false); + $this->updateUserQuota($request, $user->id, $file->getSize(), true); throw $e; } }