Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fcefb4b

Browse files
authoredApr 27, 2023
Merge pull request #628 from topcoder-platform/fix/plat2565
fix ReferenceError: cancelReason is not defined
2 parents 7bf71f5 + 7afe679 commit fcefb4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/services/ChallengeService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1871,7 +1871,7 @@ async function updateChallenge(currentUser, challengeId, data) {
18711871
}
18721872
);
18731873
}
1874-
if (sendRejectedEmail || cancelReason) {
1874+
if (sendRejectedEmail || data.cancelReason) {
18751875
logger.debug("Should send redirected email");
18761876
await helper.sendSelfServiceNotification(
18771877
constants.SelfServiceNotificationTypes.WORK_REQUEST_REDIRECTED,

0 commit comments

Comments
 (0)
Please sign in to comment.