mirror of
https://github.com/standardnotes/server
synced 2026-08-02 21:15:59 -04:00
refactor: upgrade aws sdk to v3
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user