From c18bf568c7d1d44af63bcafff6362f8fd2ddc0bf Mon Sep 17 00:00:00 2001 From: Isaac Grynsztein Date: Sun, 26 Apr 2020 17:41:54 -0400 Subject: [PATCH] Fixed bug that prevented video download or archive download from occuring --- src/app/posts.services.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/posts.services.ts b/src/app/posts.services.ts index 2a0b997..e881045 100644 --- a/src/app/posts.services.ts +++ b/src/app/posts.services.ts @@ -144,11 +144,11 @@ export class PostsService { subscriptionName: subscriptionName, subPlaylist: subPlaylist }, - {responseType: 'blob', headers: this.httpOptions.headers}); + {responseType: 'blob', params: this.httpOptions.params}); } downloadArchive(sub) { - return this.http.post(this.path + 'downloadArchive', {sub: sub}, {responseType: 'blob', headers: this.httpOptions.headers}); + return this.http.post(this.path + 'downloadArchive', {sub: sub}, {responseType: 'blob', params: this.httpOptions.params}); } getFileInfo(fileNames, type, urlMode) {