From bed45061df503a53d7b75a809267886ffac4a752 Mon Sep 17 00:00:00 2001 From: Duda Nogueira Date: Tue, 4 Oct 2022 16:26:53 -0300 Subject: [PATCH] DEV_SETTINGS. fix department creation on Rocket.Chat 5.X+ --- rocket_connect/instance/management/commands/dev_settings.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rocket_connect/instance/management/commands/dev_settings.py b/rocket_connect/instance/management/commands/dev_settings.py index e9f1ef9..8b43e83 100644 --- a/rocket_connect/instance/management/commands/dev_settings.py +++ b/rocket_connect/instance/management/commands/dev_settings.py @@ -230,7 +230,6 @@ def handle_rocketchat(self): "agents": [ { "agentId": aa[user].json()["user"]["_id"], - "username": aa[user].json()["user"]["username"], "count": 0, "order": 0, } @@ -253,7 +252,6 @@ def handle_rocketchat(self): "agents": [ { "agentId": aa[user].json()["user"]["_id"], - "username": aa[user].json()["user"]["username"], "count": 0, "order": 0, } @@ -276,7 +274,6 @@ def handle_rocketchat(self): "agents": [ { "agentId": aa[user].json()["user"]["_id"], - "username": aa[user].json()["user"]["username"], "count": 0, "order": 0, } @@ -299,7 +296,6 @@ def handle_rocketchat(self): "agents": [ { "agentId": aa[user].json()["user"]["_id"], - "username": aa[user].json()["user"]["username"], "count": 0, "order": 0, }