Removed unused readOnly property on return response

This commit is contained in:
2020-05-18 16:25:08 +00:00
parent eacf8eb7aa
commit 07390b6a31
42 changed files with 126 additions and 125 deletions

View File

@@ -136,7 +136,7 @@ namespace AyaNova.Api.Controllers
//Normallyh wouldn't return a whole list but in this case the UI demands it because of reactivity issues
var ret = await GetFileListForObjectAsync(dbObj.AttachToObjectType, dbObj.AttachToObjectId);
return Ok(ApiOkResponse.Response(ret, true));
return Ok(ApiOkResponse.Response(ret));
}
@@ -162,7 +162,7 @@ namespace AyaNova.Api.Controllers
if (!ModelState.IsValid)
return BadRequest(new ApiErrorResponse(ModelState));
var ret = await GetFileListForObjectAsync(ayaType, ayaId);
return Ok(ApiOkResponse.Response(ret, true));
return Ok(ApiOkResponse.Response(ret));
}
@@ -333,7 +333,7 @@ namespace AyaNova.Api.Controllers
}
//Return the list of attachment ids and filenames
return Ok(ApiOkResponse.Response(ret, false));
return Ok(ApiOkResponse.Response(ret));
}
/// <summary>