Skip to content

Commit

Permalink
Fix in setting the policy metadata for authToken issue (#687)
Browse files Browse the repository at this point in the history
  • Loading branch information
loganathan-sekaran authored Dec 6, 2021
1 parent 15adf1f commit e80aacd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ private void addMetadata(Map<String, Object> requestBody, String partnerId, Stri
Map<String, Object> metadata = new HashMap<>();
metadata.put("partnerId", partnerId);
metadata.put(partnerId, createPartnerDTO(partnerServiceResponse, partnerApiKey));
metadata.put(partnerId + partnerApiKey, partnerServiceResponse.getPolicy());
metadata.put(partnerId + partnerApiKey, partnerServiceResponse);
metadata.put(IdAuthCommonConstants.KYC_LANGUAGES, validateAndGetKycLanguages(partnerServiceResponse.getPolicy().getKycLanguages()));
if (partnerCertificate != null) {
metadata.put(IdAuthCommonConstants.PARTNER_CERTIFICATE, partnerCertificate);
Expand Down

0 comments on commit e80aacd

Please sign in to comment.