mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-24 18:26:20 +01:00
Fixed account lookup.
This commit is contained in:
parent
2ad5cd9335
commit
46a18f2918
@ -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 New Issue
Block a user