fix: auth in head

This commit is contained in:
Methapon2001 2024-12-10 10:48:17 +07:00
parent 5dcbcf881c
commit 80d7f1d0e5

View file

@ -413,7 +413,6 @@ export class TaskOrderAttachmentController extends Controller {
} }
@Head("attachment/{name}") @Head("attachment/{name}")
@Security("keycloak")
async headAttachment(@Path() taskId: string, @Path() name: string) { async headAttachment(@Path() taskId: string, @Path() name: string) {
return await getPresigned("head", fileLocation.task.attachment(taskId, name)); return await getPresigned("head", fileLocation.task.attachment(taskId, name));
} }