diff options
Diffstat (limited to 'ui/src/app/downloads.service.ts')
-rw-r--r-- | ui/src/app/downloads.service.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/app/downloads.service.ts b/ui/src/app/downloads.service.ts index 935feba..4da30fe 100644 --- a/ui/src/app/downloads.service.ts +++ b/ui/src/app/downloads.service.ts @@ -79,8 +79,8 @@ export class DownloadsService { return of({status: 'error', msg: msg}) } - public add(url: string) { - return this.http.post<Status>('add', {url: url}).pipe( + public add(url: string, quality: string) { + return this.http.post<Status>('add', {url: url, quality: quality}).pipe( catchError(this.handleHTTPError) ); } |