From 7b8e5c9e2191ded488abb1fffccaeb4b43b2d221 Mon Sep 17 00:00:00 2001 From: denihs Date: Mon, 26 Feb 2024 12:06:54 -0400 Subject: [PATCH] - Accounts.createUser is now 100% Accounts.createUserAsync. --- packages/accounts-password/password_server.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/accounts-password/password_server.js b/packages/accounts-password/password_server.js index 9823fec536..c8d98bae5f 100644 --- a/packages/accounts-password/password_server.js +++ b/packages/accounts-password/password_server.js @@ -1086,12 +1086,7 @@ Accounts.createUserAsync = // method calling Accounts.createUser could set? // -Accounts.createUser = - !Meteor._isFibersEnabled - ? Accounts.createUserAsync - : (options, callback) => - Promise.await(Accounts.createUserAsync(options, callback)); - +Accounts.createUser = Accounts.createUserAsync; /// /// PASSWORD-SPECIFIC INDEXES ON USERS