feat(admin): allow setting owner when creating an account #140

Merged
chihlasm merged 2 commits from feat/admin-account-owner-on-create into main 2026-04-14 21:27:02 +00:00
Showing only changes of commit 4037a5213e - Show all commits

View File

@@ -126,7 +126,7 @@ class AdminAccountDetailResponse(AdminAccountListItem):
class AdminAccountCreate(BaseModel):
name: str = Field(..., min_length=1, max_length=255)
plan: Literal["free", "pro", "team"] = "free"
owner_email: Optional[str] = Field(None, description="Email of an existing user to set as owner")
owner_email: Optional[EmailStr] = Field(None, description="Email of an existing user to set as owner")
class AdminAccountUpdate(BaseModel):