From 5d93a38bda249cabb435555656a9d5aeb34ee97f Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Thu, 19 Oct 2023 17:28:51 -0500 Subject: [PATCH] remove serializor setting --- src/Plugins/BotSharp.Plugin.MongoStorage/MongoStoragePlugin.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Plugins/BotSharp.Plugin.MongoStorage/MongoStoragePlugin.cs b/src/Plugins/BotSharp.Plugin.MongoStorage/MongoStoragePlugin.cs index be4bd667..e41704b8 100644 --- a/src/Plugins/BotSharp.Plugin.MongoStorage/MongoStoragePlugin.cs +++ b/src/Plugins/BotSharp.Plugin.MongoStorage/MongoStoragePlugin.cs @@ -19,7 +19,6 @@ public class MongoStoragePlugin : IBotSharpPlugin if (dbSettings.Default == "MongoRepository") { - BsonSerializer.RegisterSerializer(new GuidSerializer(GuidRepresentation.Standard)); services.AddScoped((IServiceProvider x) => { var dbSettings = x.GetRequiredService();