feat: Update endpoint login
This commit is contained in:
parent
a77803fcba
commit
35c437a0d7
@ -10,7 +10,7 @@ async def add_user_to_organization(
|
||||
user_id: str,
|
||||
role: str = "member"
|
||||
):
|
||||
"""Add user to organization"""
|
||||
"Add user to organization"
|
||||
if organization_id not in fake_users_db.get("organizations", {}):
|
||||
raise HTTPException(status_code=404, detail="Organization not found")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user