Fixed: Host not set for UI Search

pull/97/head
Qstick 3 years ago
parent 06ff872674
commit 99c4ed7dbc

@ -97,7 +97,15 @@ namespace Prowlarr.Api.V1.Search
{
try
{
var request = new NewznabRequest { q = query, source = "Prowlarr", t = "search", cat = string.Join(",", categories), server = Request.GetServerUrl() };
var request = new NewznabRequest
{
q = query, source = "Prowlarr",
t = "search",
cat = string.Join(",", categories),
server = Request.GetServerUrl(),
host = Request.GetHostName()
};
var result = await _nzbSearhService.Search(request, indexerIds, true);
var decisions = result.Releases;

Loading…
Cancel
Save