Skip to content

Commit

Permalink
Fix a double execution of the same method (#3021)
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Di Fabio <[email protected]>
  • Loading branch information
fab-10 authored Nov 8, 2021
1 parent 0ffe977 commit 90d4596
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ public JsonRpcResponse response(final JsonRpcRequestContext requestContext) {
requestContext.getRequest().getId(), ((JsonRpcErrorResponse) response).getError());
}

return new JsonRpcSuccessResponse(
requestContext.getRequest().getId(), findResultByParamType(requestContext));
return new JsonRpcSuccessResponse(requestContext.getRequest().getId(), response);
}
}

0 comments on commit 90d4596

Please sign in to comment.