Skip to content

Commit

Permalink
Merge pull request #446 from WeBankBlockchain/lab-dev
Browse files Browse the repository at this point in the history
fix responseFromFront to LinkedHashMap
  • Loading branch information
CodingCattwo authored May 9, 2022
2 parents 2eaeb17 + dfe79ea commit 1b86de7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public List<LinkedHashMap<String, String>> getNodeListWithType(String groupId) {
100, 1);
try {
// get data from response
LinkedHashMap<String, Object> responseMap = (LinkedHashMap<String, Object>) responseFromFront;
LinkedHashMap<String, Object> responseMap = JsonTools.stringToObj(JsonTools.objToString(responseFromFront), LinkedHashMap.class);
log.debug("end getNodeListWithType result: {}", responseMap.get("data"));
return (List<LinkedHashMap<String, String>>) responseMap.get("data");
}catch (Exception e) {
Expand Down

0 comments on commit 1b86de7

Please sign in to comment.