From dd939ce55ae3ba852b5b760da0d4875dc5fc681a Mon Sep 17 00:00:00 2001 From: Toastie Date: Sat, 5 Oct 2024 13:24:40 +1300 Subject: [PATCH] Grpc api will no longer start unless it's enabled in creds --- src/EllieBot/Services/GrpcApiService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EllieBot/Services/GrpcApiService.cs b/src/EllieBot/Services/GrpcApiService.cs index 371117d..a74c8bb 100644 --- a/src/EllieBot/Services/GrpcApiService.cs +++ b/src/EllieBot/Services/GrpcApiService.cs @@ -31,7 +31,7 @@ public class GrpcApiService : IEService, IReadyExecutor public Task OnReadyAsync() { var creds = _creds.GetCreds(); - if (creds.GrpcApi is null || creds.GrpcApi.Enabled) + if (creds.GrpcApi is null || !creds.GrpcApi.Enabled) return Task.CompletedTask; try