From ca0025b499e90ef207ca57a82ba626ca6d2c1406 Mon Sep 17 00:00:00 2001 From: tamaina Date: Fri, 6 Jan 2023 15:21:07 +0000 Subject: [PATCH] fix --- packages/backend/src/core/DownloadService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/DownloadService.ts b/packages/backend/src/core/DownloadService.ts index afbe1f03d3..0eac15c161 100644 --- a/packages/backend/src/core/DownloadService.ts +++ b/packages/backend/src/core/DownloadService.ts @@ -94,7 +94,7 @@ export class DownloadService { @bindThis public async downloadUrl(url: string, path: string): Promise { - await this.pipeRequestToFile(this.gotUrl(url), path); + await this.pipeRequestToFile(this.fetchUrl(url), path); this.logger.succ(`Download finished: ${chalk.cyan(url)}`); }