fix: add debug logger
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user