add lookup
This commit is contained in:
14
id.saladeaula.digital/app/routes/reset.py
Normal file
14
id.saladeaula.digital/app/routes/reset.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from typing import Annotated
|
||||
|
||||
from aws_lambda_powertools.event_handler.api_gateway import Router
|
||||
from aws_lambda_powertools.event_handler.openapi.params import Body, Path
|
||||
|
||||
router = Router()
|
||||
|
||||
|
||||
@router.post('/reset')
|
||||
def reset(
|
||||
new_password: Annotated[str, Body(min_length=6, embed=True)],
|
||||
code: Annotated[str, Path],
|
||||
):
|
||||
return {}
|
||||
Reference in New Issue
Block a user