Removed unused readOnly property on return response
This commit is contained in:
@@ -78,7 +78,7 @@ namespace AyaNova.Api.Controllers
|
||||
return NotFound(new ApiErrorResponse(ApiErrorCode.NOT_FOUND));
|
||||
}
|
||||
|
||||
return Ok(ApiOkResponse.Response(o, true));
|
||||
return Ok(ApiOkResponse.Response(o));
|
||||
}
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ namespace AyaNova.Api.Controllers
|
||||
TranslationBiz biz = TranslationBiz.GetBiz(ct, HttpContext);
|
||||
|
||||
var l = await biz.GetTranslationListAsync();
|
||||
return Ok(ApiOkResponse.Response(l, true));
|
||||
return Ok(ApiOkResponse.Response(l));
|
||||
}
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ namespace AyaNova.Api.Controllers
|
||||
TranslationBiz biz = TranslationBiz.GetBiz(ct, HttpContext);
|
||||
|
||||
var l = await biz.TranslationKeyCoverageAsync();
|
||||
return Ok(ApiOkResponse.Response(l, true));
|
||||
return Ok(ApiOkResponse.Response(l));
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -138,7 +138,7 @@ namespace AyaNova.Api.Controllers
|
||||
TranslationBiz biz = TranslationBiz.GetBiz(ct, HttpContext);
|
||||
|
||||
var l = await biz.GetSubsetAsync(inObj);
|
||||
return Ok(ApiOkResponse.Response(l, true));
|
||||
return Ok(ApiOkResponse.Response(l));
|
||||
}
|
||||
|
||||
|
||||
@@ -234,7 +234,7 @@ namespace AyaNova.Api.Controllers
|
||||
}
|
||||
|
||||
|
||||
return Ok(ApiOkResponse.Response(new { Concurrency = oFromDb.Concurrency }, true));
|
||||
return Ok(ApiOkResponse.Response(new { Concurrency = oFromDb.Concurrency }));
|
||||
}
|
||||
|
||||
|
||||
@@ -354,7 +354,7 @@ namespace AyaNova.Api.Controllers
|
||||
}
|
||||
}
|
||||
|
||||
return Ok(ApiOkResponse.Response(new { Concurrency = oFromDb.Concurrency }, true));
|
||||
return Ok(ApiOkResponse.Response(new { Concurrency = oFromDb.Concurrency }));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user