Skip to content

Commit

Permalink
Refactor: minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
shreelakshmijoshi committed Nov 13, 2024
1 parent 732929f commit ad84505
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit ad84505

Please sign in to comment.