Skip to content

Commit

Permalink
feat: remove file content auth
Browse files Browse the repository at this point in the history
  • Loading branch information
sdjdd committed Mar 30, 2024
1 parent be2e3f7 commit 6213e86
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion next/api/src/controller/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6213e86

Please sign in to comment.