Skip to content

Commit

Permalink
MOSIP-17537 (#546)
Browse files Browse the repository at this point in the history
* MOSIP-17537 -- Exception while fetching the authTransactions has been
fixed.

* Indentation updated
  • Loading branch information
NagarjunaKuchi authored Sep 23, 2021
1 parent 8156381 commit 8d62d7f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,10 @@ protected String mapResponse(ResettableStreamHttpServletRequest requestWrapper,
responseWrapper.setHeader(env.getProperty(IdAuthConfigKeyConstants.SIGN_RESPONSE), responseSignature);
}
storeAuthTransaction(metadata, requestSignature, responseSignature);
storeAnonymousProfile(requestBody, responseBody,(Map<String, Object>) requestBody.get(METADATA), metadata);

if (requestBody != null) {
storeAnonymousProfile(requestBody, responseBody, (Map<String, Object>) requestBody.get(METADATA),
metadata);
}
logTime((String) getResponseBody(responseAsString).get(RES_TIME), IdAuthCommonConstants.RESPONSE,
requestTime);
return responseAsString;
Expand Down

0 comments on commit 8d62d7f

Please sign in to comment.