From 1bb335e9b363be3959f973ff4dd61582f66fb29e Mon Sep 17 00:00:00 2001 From: Munish Sharma Date: Mon, 11 Nov 2024 13:01:04 +0000 Subject: [PATCH] unit test failing --- .../src/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/media-viewer/src/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.ts b/projects/media-viewer/src/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.ts index 6760cbfdd..277ca02d2 100644 --- a/projects/media-viewer/src/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.ts +++ b/projects/media-viewer/src/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.ts @@ -167,7 +167,7 @@ export class PdfJsWrapper { } public downloadFile(url: string, filename: string): void { - this.downloadManager.downloadUrl(url, filename, {}); + this.downloadManager.download(url, filename, {}); } public setPageNumber(pageNumber: number): void {