fix(tenancy): correct API path for merchant team page
JS was calling /merchants/tenancy/account/team but the endpoint is mounted at /merchants/account/team (no tenancy prefix in the path). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -127,7 +127,7 @@ function merchantTeam() {
|
||||
|
||||
async init() {
|
||||
try {
|
||||
this.data = await apiClient.get('/merchants/tenancy/account/team');
|
||||
this.data = await apiClient.get('/merchants/account/team');
|
||||
} catch (e) {
|
||||
this.error = e.message || 'Failed to load team data';
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user