mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-21 04:01:10 +10:00
update to nuxt 4
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { AuthMec } from "~/prisma/client/enums";
|
||||
import aclManager from "~/server/internal/acls";
|
||||
import authManager from "~/server/internal/auth";
|
||||
import { AuthMec } from "~~/prisma/client/enums";
|
||||
import aclManager from "~~/server/internal/acls";
|
||||
import authManager from "~~/server/internal/auth";
|
||||
|
||||
export default defineEventHandler(async (h3) => {
|
||||
const allowed = await aclManager.allowSystemACL(h3, ["auth:read", "setup"]);
|
||||
|
||||
Reference in New Issue
Block a user