From 0b147f504b83ef4faf8c65181fabf040961edc04 Mon Sep 17 00:00:00 2001
From: atlurie <atlurie@uab.edu>
Date: Thu, 7 Apr 2022 23:22:26 -0500
Subject: [PATCH] Pass each element for enumeration rather than a whole list in
 routing key

---
 account_manager.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/account_manager.py b/account_manager.py
index 5b1f91c..b6bee06 100755
--- a/account_manager.py
+++ b/account_manager.py
@@ -58,7 +58,7 @@ else:
     for each_service in service:
         rc_rmq.publish_msg(
             {
-                "routing_key": f"{service}.{username}",
+                "routing_key": f"{each_service}.{username}",
                 "props": pika.BasicProperties(
                          correlation_id=corr_id, reply_to=callback_queue
                          ),
-- 
GitLab