Warn Old Api in accounts-base - Accounts.addEmailAsync

I have a lot of warning about this :

AccountsServer.Accounts.addEmail (packages/accounts-password/password_server.js:829:16)

Can you add this function : Accounts.addEmailAsync ?

Thanks a lot
Best regards

1 Like

Still having this warning

W20240324-15:46:21.900(1)? (STDERR)     at warnUsingOldApi (packages/mongo/collection.js:21:13)
W20240324-15:46:21.900(1)? (STDERR)     at Collection.findOne (packages/mongo/collection.js:448:5)
W20240324-15:46:21.900(1)? (STDERR)     at getUserById (packages/accounts-password/password_server.js:5:51)
W20240324-15:46:21.901(1)? (STDERR)     at AccountsServer.Accounts.addEmail (packages/accounts-password/password_server.js:829:16)

I’m sure this is a real issue, but the best way to get the developers’ attention is to submit an issue at Issues · meteor/meteor · GitHub, with a link to a repo containing a minimal reproduction.

Thanks. I have opened this issue : Missing Accounts.addEmailAsync · Issue #13072 · meteor/meteor · GitHub

With a minimal repo to reproduce : GitHub - dokithonon/meteor-test-async

Thanks for opening this issue. This is in our backlog, and we’ll work on it!