mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
fix: Grpc api will no longer start unless it's enabled in creds
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user