diff --git a/server/AyaNova/Controllers/IntegrationController.cs b/server/AyaNova/Controllers/IntegrationController.cs index 6d2e441e..a72b20f7 100644 --- a/server/AyaNova/Controllers/IntegrationController.cs +++ b/server/AyaNova/Controllers/IntegrationController.cs @@ -108,10 +108,10 @@ namespace AyaNova.Api.Controllers /// - /// Update Integration + /// Update Integration to db and return it /// /// - /// + /// Entire integration object (differs from most object routes which only return concurrency value) [HttpPut] public async Task 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)); ; } ///