Skip to content

Commit

Permalink
string to variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitdas13 committed Feb 7, 2022
1 parent 2124df8 commit bc8f89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/razorpay/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ <T extends Entity> T processResponse(Response response) throws RazorpayException

if(!responseJson.has(ENTITY)) {
String entityName = getEntityNameFromURL(response.request().url());
responseJson.put("entity",entityName);
responseJson.put(ENTITY,entityName);
}

return parseResponse(responseJson);
Expand Down

0 comments on commit bc8f89d

Please sign in to comment.