mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-10 23:42:36 -07:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
2ddb949178
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ namespace PlexRequests.Api
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return Api.Execute<MusicBrainzReleaseInfo>(request, BaseUri);
|
return Api.ExecuteJson<MusicBrainzReleaseInfo>(request, BaseUri);
|
||||||
}
|
}
|
||||||
catch (JsonSerializationException jse)
|
catch (JsonSerializationException jse)
|
||||||
{
|
{
|
||||||
|
|
|
@ -516,7 +516,7 @@ namespace PlexRequests.UI.Modules
|
||||||
var artist = albumInfo.ArtistCredits?.FirstOrDefault()?.artist;
|
var artist = albumInfo.ArtistCredits?.FirstOrDefault()?.artist;
|
||||||
if (artist == null)
|
if (artist == null)
|
||||||
{
|
{
|
||||||
return Response.AsJson("We could not find the artist on MusicBrainz. Please try again later or contact your admin");
|
return Response.AsJson(new JsonResponseModel {Result = false, Message = "We could not find the artist on MusicBrainz. Please try again later or contact your admin"});
|
||||||
}
|
}
|
||||||
|
|
||||||
var model = new RequestedModel
|
var model = new RequestedModel
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue