Merged in feat/sw-1975-get-profile-v2 (pull request #1651)

Use get Profile V2 endpoint

Approved-by: Linus Flood
This commit is contained in:
Anton Gunnarsson
2025-04-08 06:26:00 +00:00
parent d282437a3d
commit c56a0b8ce9
18 changed files with 208 additions and 168 deletions

View File

@@ -17,7 +17,7 @@ export default async function SASxScandicLinkPage({
if (!profile) return null
const eurobonusMembership = getEurobonusMembership(profile.memberships)
const eurobonusMembership = getEurobonusMembership(profile.loyalty)
if (eurobonusMembership) {
redirect(`/${params.lang}/sas-x-scandic/error?errorCode=alreadyLinked`)