From 9438bbf81da41dce1180a9eef2d6148ea1982c79 Mon Sep 17 00:00:00 2001 From: Jamie Rees Date: Thu, 5 Nov 2020 20:26:48 +0000 Subject: [PATCH] Fixed the bug where you could not delete music requests --- src/Ombi/ClientApp/src/app/services/request.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ombi/ClientApp/src/app/services/request.service.ts b/src/Ombi/ClientApp/src/app/services/request.service.ts index 8ac15e4f6..c9d37db89 100644 --- a/src/Ombi/ClientApp/src/app/services/request.service.ts +++ b/src/Ombi/ClientApp/src/app/services/request.service.ts @@ -189,8 +189,8 @@ export class RequestService extends ServiceHelpers { return this.http.get(`${this.url}music/search/${search}`, {headers: this.headers}); } - public removeAlbumRequest(request: IAlbumRequest): any { - return this.http.delete(`${this.url}music/${request.id}`, {headers: this.headers}); + public removeAlbumRequest(request: number): any { + return this.http.delete(`${this.url}music/${request}`, {headers: this.headers}); } }