From 1ee8a581179957bc20d92161c275a250d7d04b01 Mon Sep 17 00:00:00 2001 From: debu-2 Date: Mon, 5 Oct 2026 21:04:03 +0530 Subject: [PATCH] backend issue fix --- backend/app/schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/schemas.py b/backend/app/schemas.py index b9ecd4f..76c496f 100644 --- a/backend/app/schemas.py +++ b/backend/app/schemas.py @@ -64,7 +64,7 @@ class OrgMemberCreate(BaseModel): password: str | None = Field(default=None, min_length=8, max_length=128) @model_validator(mode="after") - def password_required_without_invite(self) -> OrgMemberCreate: + def password_required_without_invite(self): if not self.send_invitation and not self.password: raise ValueError("Password is required when not sending an invitation.") return self