This commit is contained in:
@@ -53,7 +53,7 @@ namespace AyaNova.Api.Controllers
|
||||
[HttpGet("{id}")]
|
||||
public async Task<IActionResult> GetUserOptions([FromRoute] long id)
|
||||
{
|
||||
if (serverState.IsClosed)
|
||||
if (!serverState.IsOpen)
|
||||
{
|
||||
//Exception for SuperUser account to handle licensing issues
|
||||
if (UserIdFromContext.Id(HttpContext.Items) != 1)
|
||||
|
||||
Reference in New Issue
Block a user