Skip to content

Commit

Permalink
Send correct consent amended time
Browse files Browse the repository at this point in the history
  • Loading branch information
anjuchamantha committed Nov 7, 2024
1 parent c68d45b commit 8dfced3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public void handleConsentAmendmentHistoryRetrieval(ConsentAdminData consentAdmin
consentHistoryResource.getDetailedConsentResource();
consentResourceJSON.appendField("historyId", result.getKey());
consentResourceJSON.appendField("amendedReason", consentHistoryResource.getReason());
consentResourceJSON.appendField("amendedTime", detailedConsentResource.getUpdatedTime());
consentResourceJSON.appendField("amendedTime", consentHistoryResource.getTimestamp());
consentResourceJSON.appendField("previousConsentData",
this.detailedConsentToJSON(detailedConsentResource));
consentHistory.add(consentResourceJSON);
Expand Down

0 comments on commit 8dfced3

Please sign in to comment.