ListView replacement project: backend fundamentally working at this point, now to front

This commit is contained in:
2021-01-30 18:20:03 +00:00
parent 9f7e2197b1
commit 08c368e49e
4 changed files with 6 additions and 5 deletions

View File

@@ -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"));
}