Fixed website create.
This commit is contained in:
1 parent
3b705e6cb4
commit
8a74138e17
3 files changed
+6
-3
No files matched your search
+1
-1
@@ -52,7 +52,7 @@ export async function allowQuery(req, type) {
|
||||
user: { id: userId },
|
||||
isAdmin,
|
||||
shareToken,
|
||||
} = req.auth ?? {};
|
||||
} = req.auth;
|
||||
|
||||
if (isAdmin) {
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user