unnecessary quota check

This commit is contained in:
mertalev 2025-10-02 17:40:05 -04:00
parent 97185964cb
commit 071dbc1c50
No known key found for this signature in database
GPG key ID: DF6ABC77AAD98C95

View file

@ -157,8 +157,6 @@ export class AssetUploadService extends BaseService {
return;
}
this.validateQuota(req.auth, newLength);
if (contentLength === 0 && !isComplete) {
this.setCompleteHeader(res, version, false);
res.status(204).setHeader('Upload-Offset', expectedOffset.toString()).send();