Removed unused readOnly property on return response
This commit is contained in:
@@ -54,9 +54,9 @@ namespace AyaNova.Api.Controllers
|
||||
|
||||
//as json for client end of things
|
||||
if (AsJson)
|
||||
return Ok(ApiOkResponse.Response(Newtonsoft.Json.JsonConvert.SerializeObject(BizRoles.roles, Newtonsoft.Json.Formatting.None), true));
|
||||
return Ok(ApiOkResponse.Response(Newtonsoft.Json.JsonConvert.SerializeObject(BizRoles.roles, Newtonsoft.Json.Formatting.None)));
|
||||
else
|
||||
return Ok(ApiOkResponse.Response(BizRoles.roles, true));
|
||||
return Ok(ApiOkResponse.Response(BizRoles.roles));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user