fix auth, add pg extension (#1596)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user