This commit is contained in:
Sergio Brighenti 2020-02-28 14:30:12 +01:00
parent 4297683e74
commit 0c949563ab

View file

@ -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;
}
}