This commit is contained in:
2022-07-03 20:42:02 +00:00
parent 7561cba349
commit 5f5f5bb2e4

View File

@@ -108,10 +108,10 @@ namespace AyaNova.Api.Controllers
/// <summary>
/// Update Integration
/// Update Integration to db and return it
/// </summary>
/// <param name="updatedObject"></param>
/// <returns></returns>
/// <returns>Entire integration object (differs from most object routes which only return concurrency value)</returns>
[HttpPut]
public async Task<IActionResult> PutIntegration([FromBody] Integration updatedObject)
{
@@ -130,7 +130,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)); ;
}
/// <summary>