Merge pull request #958 from GreenShadeZhang/dev_fix_agent_labels

Fixed agent label bug
This commit is contained in:
iceljc 2025-03-21 15:04:15 -05:00 committed by GitHub
commit b21ea75764
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,7 +35,7 @@ public partial class MongoRepository
UpdateAgentProfiles(agent.Id, agent.Profiles);
break;
case AgentField.Label:
UpdateAgentLabels(agent.Id, agent.Profiles);
UpdateAgentLabels(agent.Id, agent.Labels);
break;
case AgentField.RoutingRule:
UpdateAgentRoutingRules(agent.Id, agent.RoutingRules);