mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Fixed website create.
This commit is contained in:
parent
3b705e6cb4
commit
8a74138e17
3 changed files with 6 additions and 3 deletions
|
|
@ -52,7 +52,7 @@ export async function allowQuery(req, type) {
|
|||
user: { id: userId },
|
||||
isAdmin,
|
||||
shareToken,
|
||||
} = req.auth ?? {};
|
||||
} = req.auth;
|
||||
|
||||
if (isAdmin) {
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue