feat(webhooks): init, add service/models, add JSON to patch objects

This commit is contained in:
spiral 2021-11-02 06:08:17 -04:00
parent 08c5b78cc2
commit 71aec0d419
No known key found for this signature in database
GPG key ID: A6059F0CA0E1BD31
14 changed files with 551 additions and 2 deletions

View file

@ -14,6 +14,8 @@ namespace PluralKit.Core
builder.RegisterType<Database>().As<IDatabase>().SingleInstance();
builder.RegisterType<ModelRepository>().AsSelf().SingleInstance();
builder.RegisterType<DispatchService>().AsSelf().SingleInstance();
builder.Populate(new ServiceCollection().AddMemoryCache());
}
}