fix(auth): send Bearer token for account merge endpoints

Remove '/cabinet/auth/merge/' from AUTH_ENDPOINTS so the request
interceptor attaches the Authorization header. The backend merge
preview/execute endpoints require an authenticated initiator
(get_current_cabinet_user); omitting the token produced
401 'Authentication required' and merges never completed after
Telegram confirmation or email-code verification.
This commit is contained in:
Fringg
2026-06-16 02:00:18 +03:00
parent 9456c7f54e
commit 6721e25df6

View File

@@ -70,7 +70,6 @@ const AUTH_ENDPOINTS = [
'/cabinet/auth/password/forgot',
'/cabinet/auth/password/reset',
'/cabinet/auth/oauth/',
'/cabinet/auth/merge/',
'/cabinet/auth/account/link/server-complete',
'/cabinet/auth/deeplink/',
'/cabinet/auth/login/auto',