Files
saladeaula.digital/id.saladeaula.digital/app/routes/reset.py
2025-12-01 22:27:14 -03:00

15 lines
341 B
Python

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 {}