registerUser mutation can accept email now

This commit is contained in:
2021-07-30 09:19:00 +03:00
parent 473d874ff7
commit b8b91334f5
3 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ class PayLoad(BaseModel):
class CreateUser(BaseModel):
email: Text
username: Optional[Text]
# username: Optional[Text]
# age: Optional[int]
# phone: Optional[Text]
password: Optional[Text]