mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-19 11:11:13 +10:00
update to nuxt 4
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
// get all user screenshots
|
||||
import aclManager from "~/server/internal/acls";
|
||||
import screenshotManager from "~/server/internal/screenshots";
|
||||
import aclManager from "~~/server/internal/acls";
|
||||
import screenshotManager from "~~/server/internal/screenshots";
|
||||
|
||||
export default defineEventHandler(async (h3) => {
|
||||
const userId = await aclManager.getUserIdACL(h3, ["screenshots:read"]);
|
||||
|
||||
Reference in New Issue
Block a user