Merged in feat/sw-2232-sas-api-updates (pull request #1786)

SW-2232 Adapt SAS router to API changes

* Adapt sas procedures to api changes

* Remove debug logs

* Capture performLevelUpgrade error

* More sentry logging

* Merge branch 'master' into feat/sw-2232-sas-api-updates


Approved-by: Joakim Jäderberg
This commit is contained in:
Anton Gunnarsson
2025-04-14 13:42:58 +00:00
parent f87ea51b11
commit 3449ccec52
12 changed files with 66 additions and 101 deletions

View File

@@ -26,7 +26,7 @@ export const unlinkAccount = protectedProcedure
},
})
if (apiResponse.status === 204) {
if (apiResponse.status === 204 || apiResponse.status === 202) {
console.log("[SAS] unlink account success")
return { linkingState: "unlinked" }
}