From 13c8a1bbf9d205b703704163fd002b9efe42e01b Mon Sep 17 00:00:00 2001 From: Chris Bongers Date: Mon, 23 Mar 2026 16:35:39 +0200 Subject: [PATCH] fix: user master --- src/routes/boot.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/routes/boot.ts b/src/routes/boot.ts index 2164d495d5..9ebc077a46 100644 --- a/src/routes/boot.ts +++ b/src/routes/boot.ts @@ -664,9 +664,8 @@ const loggedInBoot = async ({ visit, roles, extra, - [alerts, settings, marketingCta], + [alerts, settings, marketingCta, user], [ - user, squads, lastBanner, exp, @@ -688,11 +687,11 @@ const loggedInBoot = async ({ getAlerts(queryRunner, userId), getSettings(queryRunner, userId), getMarketingCta(queryRunner, log, userId), + getUser(queryRunner, userId), ]); }), queryReadReplica(con, async ({ queryRunner }) => { return Promise.all([ - getUser(queryRunner, userId), getSquads(queryRunner, userId), getAndUpdateLastBannerRedis(queryRunner), getExperimentation({ userId, con: queryRunner, ...geo }), @@ -1270,7 +1269,7 @@ const getFunnelLoggedInData = async ( ): Promise => { const { userId } = req; if (userId) { - const user = await queryReadReplica(con, ({ queryRunner }) => + const user = await queryDataSource(con, ({ queryRunner }) => getUser(queryRunner, userId), ); if (user) {