Skip to content

Commit

Permalink
[#11878] Fix Approval Email Bug (#13027)
Browse files Browse the repository at this point in the history
  • Loading branch information
domoberzin committed Apr 14, 2024
1 parent c6b8642 commit f0e2af3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public JsonResult execute() throws InvalidOperationException, InvalidHttpRequest
accountRequest.setStatus(accountRequestUpdateRequest.getStatus());
accountRequest = sqlLogic.updateAccountRequestWithTransaction(accountRequest);
EmailWrapper email = sqlEmailGenerator.generateNewInstructorAccountJoinEmail(
accountRequest.getRegistrationUrl(), accountRequest.getEmail(), accountRequest.getName());
accountRequest.getEmail(), accountRequest.getName(), accountRequest.getRegistrationUrl());
taskQueuer.scheduleAccountRequestForSearchIndexing(accountRequest.getId().toString());
emailSender.sendEmail(email);
} catch (InvalidParametersException e) {
Expand Down

0 comments on commit f0e2af3

Please sign in to comment.