mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 07:37:11 +01:00
fix auth, add pg extension (#1596)
This commit is contained in:
parent
994cf950c8
commit
ebf439c598
3 changed files with 4 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ export async function allowQuery(req) {
|
|||
}
|
||||
|
||||
if (userId) {
|
||||
const website = await getWebsite({ id });
|
||||
const website = await getWebsite({ websiteUuid: id });
|
||||
|
||||
return website && website.userId === userId;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue