Skip to content

Commit

Permalink
Fix sendVerificationCode return
Browse files Browse the repository at this point in the history
  • Loading branch information
dhakalaashish committed Feb 19, 2024
1 parent e5e99b6 commit d415725
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 d415725

Please sign in to comment.