From 770907f232b75816cf69b7816c0334c876750418 Mon Sep 17 00:00:00 2001 From: spiral Date: Fri, 25 Nov 2022 08:53:24 +0000 Subject: [PATCH] fix(api): load metrics reporting module i don't know why this fixes it, but it does somehow --- PluralKit.Core/Modules/MetricsModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Core/Modules/MetricsModule.cs b/PluralKit.Core/Modules/MetricsModule.cs index 7d17f3ae..1845663e 100644 --- a/PluralKit.Core/Modules/MetricsModule.cs +++ b/PluralKit.Core/Modules/MetricsModule.cs @@ -16,7 +16,7 @@ public class MetricsModule: Module protected override void Load(ContainerBuilder builder) { builder.Register(c => InitMetrics(c.Resolve())) - .AsSelf().As().SingleInstance(); + .AsSelf().As().SingleInstance().AutoActivate(); } private IMetricsRoot InitMetrics(CoreConfig config)