Skip to content

Commit

Permalink
fix(server): fix user quota (#1534)
Browse files Browse the repository at this point in the history
  • Loading branch information
HUAHUAI23 authored Sep 13, 2023
1 parent 7eb68a8 commit d3a2e65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/src/user/quota.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ export class QuotaService {
}

if (allApplications.length > userQuota.limitCountOfApplication) {
return 'application counts exceeds resource limit'
if (!appid) {
return 'application counts exceeds resource limit'
}
}

return null
Expand Down

0 comments on commit d3a2e65

Please sign in to comment.