Some checks failed
The customer-area used to be mounted at /shop/* and was migrated to
/storefront long ago, but apiClient.js still carried the dead /shop/
checks alongside the live ones added in a0ae6388. Removed:
- /shop/ + /api/v1/shop/ predicates from getToken()'s customer-area
branch (lines 62-63).
- Same predicates from clearTokens()'s customer-area branch
(lines 409-410).
- Updated both functions' JSDoc to list the actual live paths
(/account/* + /api/v1/storefront/*) and to mention the /merchants/*
branch that was already in code but missing from the comment.
No behaviour change — verified zero callers via grep across app/,
static/, middleware/. The /shop/ branches always evaluated false in
production.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>