From db013c46ba26e6c80cee2b84f6aedd3f70340a94 Mon Sep 17 00:00:00 2001 From: Gil Zhang Date: Fri, 21 Mar 2025 10:25:10 +0800 Subject: [PATCH] Fixed agent label bug --- .../Repository/MongoRepository.Agent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugins/BotSharp.Plugin.MongoStorage/Repository/MongoRepository.Agent.cs b/src/Plugins/BotSharp.Plugin.MongoStorage/Repository/MongoRepository.Agent.cs index 90dd9cdf..f433ee77 100644 --- a/src/Plugins/BotSharp.Plugin.MongoStorage/Repository/MongoRepository.Agent.cs +++ b/src/Plugins/BotSharp.Plugin.MongoStorage/Repository/MongoRepository.Agent.cs @@ -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);