From f12ddd70900b1de9ebc0239df830cc757ee2e719 Mon Sep 17 00:00:00 2001 From: sgiannopoulos Date: Thu, 11 Apr 2024 18:22:33 +0300 Subject: [PATCH] typo fix --- .../app/core/services/storage-file/storage-file.service.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dmp-frontend/src/app/core/services/storage-file/storage-file.service.ts b/dmp-frontend/src/app/core/services/storage-file/storage-file.service.ts index ae1f33a4e..e8fb411ca 100644 --- a/dmp-frontend/src/app/core/services/storage-file/storage-file.service.ts +++ b/dmp-frontend/src/app/core/services/storage-file/storage-file.service.ts @@ -33,13 +33,8 @@ export class StorageFileService { download(id: Guid ): Observable> { const url = `${this.apiBase}/download/${id}`; - const params = new BaseHttpParams(); - params.interceptorContext = { - excludedInterceptors: [InterceptorType.JSONContentType, InterceptorType.ResponsePayload] - }; - return this.http - .get(url, {params: params, responeType: 'blob', observe: 'response'}); + return this.http.get(url, { responseType: 'blob', observe: 'response' }); } uploadTempFiles(item: File): Observable {