Sergio Brighenti 5 năm trước cách đây
mục cha
commit
0c949563ab
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
         }
     }