This commit is contained in:
@@ -566,7 +566,7 @@ namespace AyaNova.Api.Controllers
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="updatedObject">WorkOrderItemLabor - top level only, no descendants</param>
|
||||
/// <returns>New concurrency token</returns>
|
||||
/// <returns>Updated object</returns>
|
||||
[HttpPut("items/labors")]
|
||||
public async Task<IActionResult> PutWorkOrderItemLabor([FromBody] WorkOrderItemLabor updatedObject)
|
||||
{
|
||||
@@ -585,7 +585,7 @@ namespace AyaNova.Api.Controllers
|
||||
else
|
||||
return BadRequest(new ApiErrorResponse(biz.Errors));
|
||||
}
|
||||
return Ok(ApiOkResponse.Response(new { Concurrency = o.Concurrency }));
|
||||
return Ok(ApiOkResponse.Response(o));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user