mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-30 19:40:05 -07:00
fix #2527 - Music request not triggering search and failing
This commit is contained in:
parent
26ce54b91d
commit
86bff311f1
2 changed files with 5 additions and 4 deletions
|
@ -156,8 +156,8 @@ namespace Ombi.Api.Lidarr
|
|||
|
||||
public Task<CommandResult> AlbumSearch(int[] albumIds, string apiKey, string baseUrl)
|
||||
{
|
||||
var request = new Request($"{ApiVersion}/command/AlbumSearch", baseUrl, HttpMethod.Post);
|
||||
request.AddJsonBody(albumIds);
|
||||
var request = new Request($"{ApiVersion}/command/", baseUrl, HttpMethod.Post);
|
||||
request.AddJsonBody(new { name = "AlbumSearch", albumIds });
|
||||
AddHeaders(request, apiKey);
|
||||
return Api.Request<CommandResult>(request);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue