Fixed website create.
This commit is contained in:
@@ -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