From 5f5f5bb2e4e4d779677433c3a057bc8b8d628136 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sun, 3 Jul 2022 20:42:02 +0000 Subject: [PATCH] --- server/AyaNova/Controllers/IntegrationController.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)); ; } ///