Fixed website create.

This commit is contained in:
Mike Cao committed 2022-11-09 07:40:17 -08:00
1 parent 3b705e6cb4
commit 8a74138e17
3 files changed
+6 -3

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ export async function allowQuery(req, type) {
user: { id: userId },
isAdmin,
shareToken,
} = req.auth ?? {};
} = req.auth;
if (isAdmin) {
return true;