mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-14 21:10:34 +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) {
|
} 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…
x
Reference in New Issue
Block a user