mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00: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) {
|
||||
const account = await getAccount({ accountUuid: id });
|
||||
|
||||
return account && account.id === id;
|
||||
return account && account.accountUuid === id;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue