ListView replacement project: backend fundamentally working at this point, now to front
This commit is contained in:
@@ -161,7 +161,7 @@ namespace AyaNova.Api.Controllers
|
||||
|
||||
//Default filters can never be created from outside
|
||||
//they are only ever created from inside so a post with a default=true is always invalid
|
||||
if (inObj.Default == true)
|
||||
if (inObj.DefaultFilter == true)
|
||||
{
|
||||
return BadRequest(new ApiErrorResponse(ApiErrorCode.INVALID_OPERATION, "default", "Default filters can only be created internally"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user