mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38: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()
|
public Task OnReadyAsync()
|
||||||
{
|
{
|
||||||
var creds = _creds.GetCreds();
|
var creds = _creds.GetCreds();
|
||||||
if (creds.GrpcApi is null || creds.GrpcApi.Enabled)
|
if (creds.GrpcApi is null || !creds.GrpcApi.Enabled)
|
||||||
return Task.CompletedTask;
|
return Task.CompletedTask;
|
||||||
|
|
||||||
try
|
try
|
||||||
|
Reference in New Issue
Block a user