diff --git a/functions/api/game-appeals/_middleware.ts b/functions/api/game-appeals/[id]/_middleware.ts similarity index 80% rename from functions/api/game-appeals/_middleware.ts rename to functions/api/game-appeals/[id]/_middleware.ts index 774bab8..c342102 100644 --- a/functions/api/game-appeals/_middleware.ts +++ b/functions/api/game-appeals/[id]/_middleware.ts @@ -1,4 +1,4 @@ -import { jsonError } from "../../common.js"; +import { jsonError } from "../../../common.js"; export async function onRequest(context: RequestContext) { if (!(context.data.current_user.permissions & (1 << 5)))