From db28e70b907c9c0165a8eb2bc8b2f2094d5277b3 Mon Sep 17 00:00:00 2001 From: regalijan Date: Thu, 19 Oct 2023 16:51:03 -0400 Subject: [PATCH] Move middleware for game appeals --- functions/api/game-appeals/{ => [id]}/_middleware.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename functions/api/game-appeals/{ => [id]}/_middleware.ts (80%) 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)))