Skip to content

Commit

Permalink
Merge pull request datakaveri#452 from kailash/bug/subs_response
Browse files Browse the repository at this point in the history
subscription API response issue
  • Loading branch information
Kailash Adhikari authored Oct 6, 2023
2 parents c168408 + 92de6af commit f177112
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1024,8 +1024,7 @@ private void handleSubscriptions(RoutingContext routingContext) {
subHandler -> {
if (subHandler.succeeded()) {
LOGGER.info("Success: Handle Subscription request;");
JsonObject object =
new JsonObject(subHandler.result().getJsonArray("results").getString(0));
JsonObject object =subHandler.result().getJsonArray("results").getJsonObject(0);
routingContext.data().put(RESPONSE_SIZE, 0);

JsonObject message =
Expand Down

0 comments on commit f177112

Please sign in to comment.