This commit is contained in:
@@ -66,7 +66,7 @@ namespace AyaNova.Api.Controllers
|
||||
//so the only real barrier here would be a completely closed api
|
||||
|
||||
|
||||
if (serverState.IsClosed && AyaNova.Core.License.ActiveKey.IsLicensed)
|
||||
if (serverState.IsClosed && AyaNova.Core.License.ActiveKey.KeyDoesNotNeedAttention)
|
||||
{
|
||||
return StatusCode(503, new ApiErrorResponse(ApiErrorCode.API_CLOSED, null, serverState.Reason));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user