Skip to content

Commit

Permalink
Merge pull request #521 from wri/gtc-2833/optional_name
Browse files Browse the repository at this point in the history
Make name field optional in User model
  • Loading branch information
jterry64 authored May 16, 2024
2 parents 6ce63f9 + 3d1cd5b commit fcbf56a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/pydantic/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class SignUpRequestIn(StrictBaseModel):

class User(BaseModel):
id: str
name: str
name: Optional[str]
email: EmailStr
createdAt: datetime
role: str
Expand Down

0 comments on commit fcbf56a

Please sign in to comment.