Skip to content

Commit

Permalink
Add apiheader for If-None-Match
Browse files Browse the repository at this point in the history
  • Loading branch information
bischofmax committed Jan 9, 2024
1 parent 304624e commit 7817516
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export class FilesStorageController {
@ApiResponse({ status: 422, type: UnprocessableEntityException })
@ApiResponse({ status: 500, type: InternalServerErrorException })
@ApiHeader({ name: 'Range', required: false })
@ApiHeader({ name: 'If-None-Match', required: false })
@Get('/preview/:fileRecordId/:fileName')
@RequestTimeout(config().INCOMING_REQUEST_TIMEOUT)
async downloadPreview(
Expand Down

0 comments on commit 7817516

Please sign in to comment.