mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
Fixed the bug where you could not delete music requests
This commit is contained in:
parent
b9be1eaaab
commit
9438bbf81d
1 changed files with 2 additions and 2 deletions
|
@ -189,8 +189,8 @@ export class RequestService extends ServiceHelpers {
|
|||
return this.http.get<IAlbumRequest[]>(`${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});
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue