From 6213e8665d9f508f57192181baf4b0335f9ef009 Mon Sep 17 00:00:00 2001 From: sdjdd Date: Sun, 31 Mar 2024 02:07:16 +0800 Subject: [PATCH] feat: remove file content auth --- next/api/src/controller/file.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/next/api/src/controller/file.ts b/next/api/src/controller/file.ts index 792754ba3..0881d2ba2 100644 --- a/next/api/src/controller/file.ts +++ b/next/api/src/controller/file.ts @@ -41,7 +41,6 @@ export class FileController { } @Get(':id/content') - @UseMiddlewares(auth, staffOnly) async getFileContent( @Ctx() ctx: Context, @Param('id', new FindModelPipe(File, { useMasterKey: true })) file: File