mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Fixed account lookup.
This commit is contained in:
parent
2ad5cd9335
commit
46a18f2918
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ export async function allowQuery(req, type) {
|
||||||
} else if (type === TYPE_ACCOUNT) {
|
} else if (type === TYPE_ACCOUNT) {
|
||||||
const account = await getAccount({ accountUuid: id });
|
const account = await getAccount({ accountUuid: id });
|
||||||
|
|
||||||
return account && account.id === id;
|
return account && account.accountUuid === id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue