method renaming

This commit is contained in:
msramalho
2025-01-22 13:59:44 +00:00
parent 9f9bbc9344
commit f8383bc6a3
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ def create_sheet(
if not user.in_group(sheet.group_id):
raise HTTPException(status_code=403, detail="User does not have access to this group.")
if not user.has_quota_sheet():
if not user.has_quota_monthly_sheets():
raise HTTPException(status_code=429, detail="User has reached their sheet quota.")
if not user.is_sheet_frequency_allowed(sheet.frequency):