Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/aab13e028d9fd7cb45b79a8877536d93ab3bbeec?style=split&whitespace=ignore-eol You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fix log typo in release/push

pull/4438/head
Bogdan 1 year ago
parent bee2b44918
commit aab13e028d

@ -47,6 +47,7 @@ namespace Lidarr.Api.V1.Indexers
} }
[HttpPost] [HttpPost]
[Consumes("application/json")]
public ActionResult<ReleaseResource> Create(ReleaseResource release) public ActionResult<ReleaseResource> Create(ReleaseResource release)
{ {
_logger.Info("Release pushed: {0} - {1}", release.Title, release.DownloadUrl); _logger.Info("Release pushed: {0} - {1}", release.Title, release.DownloadUrl);
@ -92,7 +93,7 @@ namespace Lidarr.Api.V1.Indexers
} }
else else
{ {
_logger.Debug("Push Release {0} not associated with unknown indexer {1}.", release.Title, release.Indexer); _logger.Debug("Push Release {0} not associated with known indexer {1}.", release.Title, release.Indexer);
} }
} }
else if (release.IndexerId != 0 && release.Indexer.IsNullOrWhiteSpace()) else if (release.IndexerId != 0 && release.Indexer.IsNullOrWhiteSpace())
@ -105,7 +106,7 @@ namespace Lidarr.Api.V1.Indexers
} }
catch (ModelNotFoundException) catch (ModelNotFoundException)
{ {
_logger.Debug("Push Release {0} not associated with unknown indexer {1}.", release.Title, release.IndexerId); _logger.Debug("Push Release {0} not associated with known indexer {1}.", release.Title, release.IndexerId);
release.IndexerId = 0; release.IndexerId = 0;
} }
} }

Loading…
Cancel
Save