mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-17 10:11:10 +10:00
update to nuxt 4
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import aclManager from "~/server/internal/acls";
|
||||
import prisma from "~/server/internal/db/database";
|
||||
import aclManager from "~~/server/internal/acls";
|
||||
import prisma from "~~/server/internal/db/database";
|
||||
|
||||
export default defineEventHandler(async (h3) => {
|
||||
const allowed = await aclManager.getUserACL(h3, ["settings:read"]);
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
import { type } from "arktype";
|
||||
import { applicationSettings } from "~/server/internal/config/application-configuration";
|
||||
import { readDropValidatedBody } from "~/server/arktype";
|
||||
import { applicationSettings } from "~~/server/internal/config/application-configuration";
|
||||
import { readDropValidatedBody } from "~~/server/arktype";
|
||||
import { defineEventHandler, createError } from "h3";
|
||||
import aclManager from "~/server/internal/acls";
|
||||
import aclManager from "~~/server/internal/acls";
|
||||
|
||||
const UpdateSettings = type({
|
||||
showGamePanelTextDecoration: "boolean",
|
||||
|
||||
Reference in New Issue
Block a user