nit: styling

This commit is contained in:
rjindael 2023-08-02 20:21:29 -07:00
parent b8a3609007
commit ed517513d6
No known key found for this signature in database
GPG Key ID: D069369C906CCF31
1 changed files with 2 additions and 3 deletions

View File

@ -25,8 +25,7 @@ public static class Web
if (response != RESPONSE_SUCCESS) if (response != RESPONSE_SUCCESS)
{ {
if (response == RESPONSE_MAINTENANCE) if (response == RESPONSE_MAINTENANCE) IsInMaintenance = true;
IsInMaintenance = true;
return false; return false;
} }
@ -40,7 +39,7 @@ public static class Web
{ {
var response = await Helpers.Http.GetJson<Models.HealthCheck>(Url("/api/health")); var response = await Helpers.Http.GetJson<Models.HealthCheck>(Url("/api/health"));
return response is null ? RESPONSE_FAILURE : response.Status; return response?.Status ?? RESPONSE_FAILURE;
} }
public static bool LoadLicense(string license) public static bool LoadLicense(string license)