Grpc api will no longer start unless it's enabled in creds
This commit is contained in:
parent
1a52085340
commit
dd939ce55a
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ public class GrpcApiService : IEService, 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
|
||||||
|
|
Loading…
Reference in a new issue