fix: add debug logger

This commit is contained in:
2026-05-08 23:10:16 +03:00
parent 1724d4e37d
commit bedce9e910

View File

@@ -37,8 +37,10 @@ auth_router = APIRouter(prefix='/auth', tags=['auth'])
async def registration_start( async def registration_start(
request: Request, request: Request,
body: RegistrationStart, body: RegistrationStart,
logger: ILogger = Depends(get_logger),
command: UserRegistrationStartCommand = Depends(get_user_registration_start_command), command: UserRegistrationStartCommand = Depends(get_user_registration_start_command),
): ):
logger.info('AHAHAHAHAHAHHAHAAH')
result = await command(body.email) result = await command(body.email)
return {'success': result} return {'success': result}