fix: loyalty levels fetch in rsc for mobile menu

fix: get loyalty level in rsc

fix: typo
This commit is contained in:
Christel Westerberg
2024-09-30 09:52:33 +02:00
parent 2886084a82
commit 44747058d0
11 changed files with 40 additions and 22 deletions

View File

@@ -197,7 +197,7 @@ export const userMutationRouter = router({
return null
}
const preferencesLink = new URL(env.SALESFORCE_PREFRENCE_BASE_URL)
const preferencesLink = new URL(env.SALESFORCE_PREFERENCE_BASE_URL)
preferencesLink.searchParams.set("subKey", validatedData.data.subscriberId)
generatePreferencesLinkSuccessCounter.add(1)