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

This commit is contained in:
Toastie 2024-10-05 13:24:40 +13:00
parent 1a52085340
commit dd939ce55a
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4

View file

@ -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