Sergio Brighenti %!s(int64=5) %!d(string=hai) anos
pai
achega
0c949563ab
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Controllers/UploadController.php

+ 1 - 1
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;
         }
     }