Skip to content

Commit

Permalink
Merge pull request #151 from Plant-for-the-Planet-org/hotfix/fix-what…
Browse files Browse the repository at this point in the history
…sapp-notifier-return-bug

Fix sendVerificationCode return
  • Loading branch information
dhakalaashish authored Feb 20, 2024
2 parents e5e99b6 + d415725 commit 21dea21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/server/src/utils/routers/alertMethod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ export const handlePendingVerification = async (
authenticationMessage: true,
otp: otp
}
await notifier.notify(alertMethod.destination, params);
sendVerificationCode = await notifier.notify(alertMethod.destination, params);
} else {
// Use NotifierRegistry to send the verification code
const notifier = NotifierRegistry.get(alertMethod.method);
Expand Down

0 comments on commit 21dea21

Please sign in to comment.