refactor logging module, add welcome and reset daemons, changed structure of the rabbitmq queues
This commit is contained in:
@@ -79,5 +79,5 @@ from src.messaging.producers.producers import email_producer
|
||||
|
||||
@router.get("")
|
||||
async def protected(current_user:UserOut=Depends(require_permissions()))->dict:
|
||||
await email_producer.send_welcome_email("test@test.com")
|
||||
await email_producer.send_welcome_email(current_user.email)
|
||||
return {"protected router": "Hello, this is a protected router"}
|
||||
|
||||
Reference in New Issue
Block a user