Migrate API to ASP.NET Core Auth services + refactor
This commit is contained in:
@@ -6,8 +6,6 @@ namespace PluralKit.API
|
||||
{
|
||||
protected override void Load(ContainerBuilder builder)
|
||||
{
|
||||
// Lifetime scope so the service, RequiresSystem, and handler itself all get the same value
|
||||
builder.RegisterType<TokenAuthService>().AsSelf().InstancePerLifetimeScope();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user