Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
tests: solved email tests_setup
  • Loading branch information
Grubba27 committed Oct 5, 2023
commit 855f48ea28ef242da53a794614aabb3d5d102451
2 changes: 1 addition & 1 deletion packages/accounts-password/email_tests_setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Meteor.methods(
addEmailForTestAndVerify:
async email => {
check(email, String);
await Meteor.users.update(
await Meteor.users.updateAsync(
{ _id: Accounts.userId() },
{ $push: { emails: { address: email, verified: false } } });
await Accounts.sendVerificationEmail(Accounts.userId(), email);
Expand Down