fix: Grpc api will no longer start unless it's enabled in creds

This commit is contained in:
Kwoth
2024-10-03 11:59:47 +00:00
parent d00e59567a
commit 0123892038

View File

@@ -31,7 +31,7 @@ public class GrpcApiService : INService, 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