fix: auth in head
This commit is contained in:
parent
5dcbcf881c
commit
80d7f1d0e5
1 changed files with 0 additions and 1 deletions
|
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue