Fixed validating data in LettersMethod
This commit is contained in:
@ -33,6 +33,7 @@ class LettersMethod(
|
|||||||
http_method=HTTPMethod.POST,
|
http_method=HTTPMethod.POST,
|
||||||
api_method="/letters",
|
api_method="/letters",
|
||||||
returning=LettersResponse,
|
returning=LettersResponse,
|
||||||
|
response_data_key=["letters"],
|
||||||
):
|
):
|
||||||
email: str
|
email: str
|
||||||
password: str = Field(repr=False)
|
password: str = Field(repr=False)
|
||||||
|
Reference in New Issue
Block a user