feat(chalice): logs
This commit is contained in:
parent
2db39d5bfc
commit
df61a405a5
1 changed files with 6 additions and 0 deletions
|
|
@ -24,6 +24,12 @@ class UserLoginSchema(_Grecaptcha):
|
|||
password: str = Field(...)
|
||||
_transform_email = validator('email', pre=True, allow_reuse=True)(transform_email)
|
||||
|
||||
@root_validator(pre=True)
|
||||
def log_payload(cls, values):
|
||||
print("login received:")
|
||||
print(values)
|
||||
return values
|
||||
|
||||
|
||||
class UserSignupSchema(UserLoginSchema):
|
||||
fullname: str = Field(...)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue