Skip to content

Commit

Permalink
Merge pull request #120 from companieshouse/idva6-1204-update-approva…
Browse files Browse the repository at this point in the history
…lroute

idva6-1204 change approval route to authcode for post
  • Loading branch information
kkonuganti-ch authored Jun 24, 2024
2 parents dc3c15e + 913a768 commit 515ff5a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public ResponseEntity<ResponseBodyPost> addAssociation(final String xRequestId,
}
association.setStatus(Association.StatusEnum.CONFIRMED.getValue());
association.setUserId(userDetails.getUserId());
association.setApprovalRoute(ApprovalRouteEnum.AUTH_CODE.getValue());
association.setUserEmail(null);
association = associationsService.upsertAssociation(association);

Expand Down

0 comments on commit 515ff5a

Please sign in to comment.