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