This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user