diff --git a/src/controllers/FileController.ts b/src/controllers/FileController.ts index a5610c0..40d89d6 100644 --- a/src/controllers/FileController.ts +++ b/src/controllers/FileController.ts @@ -442,7 +442,7 @@ export class SubFileController extends Controller { @Path() file: string, ) { if (name !== "ระบบประเมิน") { - return await s3DownloadFile(name, group, id, subId); + return await s3DownloadFile(name, group, id, subId, file); } const data = await downloadFile([name, group, id, subId], file); if (!data) throw new Error("เกิดข้อผิดพลาดกับระบบจัดการไฟล์");