From ee6e4833bc3ec5de7293e07ab56ab9731482476e Mon Sep 17 00:00:00 2001 From: Alisson Date: Tue, 30 Apr 2024 14:32:33 -0300 Subject: [PATCH] fix key in message --- bothub/authorizations/consumers/authorizations_consumer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bothub/authorizations/consumers/authorizations_consumer.py b/bothub/authorizations/consumers/authorizations_consumer.py index 5f3b694d..423e8640 100644 --- a/bothub/authorizations/consumers/authorizations_consumer.py +++ b/bothub/authorizations/consumers/authorizations_consumer.py @@ -18,7 +18,7 @@ def consume(self, message: amqp.Message): org_auth_dto = OrgAuthDTO( user=body.get("user_email"), - org_id=body.get("organization_intelligence"), + org_id=body.get("org_intelligence"), role=body.get("role") )