refactor: upgrade aws sdk to v3

This commit is contained in:
Karol Sójko
2023-01-27 15:56:52 +01:00
parent 5ea91aeafc
commit eb771e7932
185 changed files with 2916 additions and 1526 deletions
@@ -15,7 +15,7 @@ export class StreamDownloadFile implements UseCaseInterface {
async execute(dto: StreamDownloadFileDTO): Promise<StreamDownloadFileResponse> {
try {
const readStream = this.fileDownloader.createDownloadStream(
const readStream = await this.fileDownloader.createDownloadStream(
`${dto.userUuid}/${dto.resourceRemoteIdentifier}`,
dto.startRange,
dto.endRange,