From 7df5e7a8a78d4d8b88eaaafccf6a963b780d6ced Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Thu, 21 Mar 2024 15:19:50 +0000 Subject: [PATCH] fix order of createAdminUser args --- packages/account-portal | 2 +- packages/worker/src/api/controllers/global/users.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/account-portal b/packages/account-portal index 4ccb03f951..80173fdf42 160000 --- a/packages/account-portal +++ b/packages/account-portal @@ -1 +1 @@ -Subproject commit 4ccb03f95110735332ce42b1817efbbd2e54864b +Subproject commit 80173fdf426e124221adaff15b37418814ea2ad2 diff --git a/packages/worker/src/api/controllers/global/users.ts b/packages/worker/src/api/controllers/global/users.ts index 28ba97b4e2..6b9e533f78 100644 --- a/packages/worker/src/api/controllers/global/users.ts +++ b/packages/worker/src/api/controllers/global/users.ts @@ -127,8 +127,8 @@ export const adminUser = async ( try { const finalUser = await userSdk.db.createAdminUser( email, - password, tenantId, + password, { ssoId, hashPassword,