remove serializor setting
This commit is contained in:
parent
60d9f47356
commit
5d93a38bda
|
|
@ -19,7 +19,6 @@ public class MongoStoragePlugin : IBotSharpPlugin
|
||||||
|
|
||||||
if (dbSettings.Default == "MongoRepository")
|
if (dbSettings.Default == "MongoRepository")
|
||||||
{
|
{
|
||||||
BsonSerializer.RegisterSerializer(new GuidSerializer(GuidRepresentation.Standard));
|
|
||||||
services.AddScoped((IServiceProvider x) =>
|
services.AddScoped((IServiceProvider x) =>
|
||||||
{
|
{
|
||||||
var dbSettings = x.GetRequiredService<BotSharpDatabaseSettings>();
|
var dbSettings = x.GetRequiredService<BotSharpDatabaseSettings>();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue