Cambio nome

This commit is contained in:
2026-03-19 16:58:23 +01:00
parent c34d6bb080
commit 83e494e171
29 changed files with 105 additions and 105 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ class TenantCreateRequest(BaseModel):
@field_validator("slug")
@classmethod
def validate_slug(cls, v: str) -> str:
reserved = {"api", "admin", "www", "mail", "smtp", "imap", "pecflow", "app"}
reserved = {"api", "admin", "www", "mail", "smtp", "imap", "pechub", "app"}
if v in reserved:
raise ValueError(f"Slug '{v}' riservato")
return v.lower()