fix file org

This commit is contained in:
AdisakKanthawilang 2025-01-27 10:35:47 +07:00
parent d9c3c3860f
commit 53bd4e09c2

View file

@ -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("เกิดข้อผิดพลาดกับระบบจัดการไฟล์");