From ad845059e8cc3a6e18ce7f40ea83f3fb8978f588 Mon Sep 17 00:00:00 2001 From: shreelakshmijoshi Date: Wed, 13 Nov 2024 20:01:06 +0530 Subject: [PATCH] Refactor: minor change --- .../java/iudx/data/marketplace/apiserver/ConsumerApis.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/iudx/data/marketplace/apiserver/ConsumerApis.java b/src/main/java/iudx/data/marketplace/apiserver/ConsumerApis.java index 4e5c22d..37fda18 100644 --- a/src/main/java/iudx/data/marketplace/apiserver/ConsumerApis.java +++ b/src/main/java/iudx/data/marketplace/apiserver/ConsumerApis.java @@ -278,15 +278,13 @@ private void handleSuccessResponse( .setStatusCode(statusCode) .end(result.toString()); break; - case 204: + default: //204 routingContext .response() .putHeader(CONTENT_TYPE, APPLICATION_JSON) .setStatusCode(statusCode) .end(); break; - default: - break; } }