Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xen-HendryZheng committed Mar 17, 2023
1 parent 6fb99cc commit 13fff62
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ private static XenditResponse defaultHttpXenditConnection(
}

Map<String, String> responseHeaders = new HashMap<>();
for (Map.Entry<String, List<String>> headerResponse : connection.getHeaderFields().entrySet()) {
for (Map.Entry<String, List<String>> headerResponse :
connection.getHeaderFields().entrySet()) {
responseHeaders.put(headerResponse.getKey(), headerResponse.getValue().get(0));
}
Xendit.setResponseHeaders(responseHeaders);
Expand Down

0 comments on commit 13fff62

Please sign in to comment.