mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 04:25:39 +01:00
fix auth, add pg extension
This commit is contained in:
parent
994cf950c8
commit
b6a2058e51
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