mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-08 14:10:50 -07:00
Fix for #978
This commit is contained in:
parent
948097cd6c
commit
2d1ad10b70
4 changed files with 19 additions and 2 deletions
|
@ -789,7 +789,17 @@ namespace Ombi.UI.Modules
|
|||
if (result.Result)
|
||||
{
|
||||
return await AddRequest(model, settings,
|
||||
$"{fullMovieName} {Resources.UI.Search_SuccessfullyAdded}");
|
||||
$"{fullMovieName} {Resources.UI.Search_SuccessfullyAdded}");
|
||||
}
|
||||
if (result.Error)
|
||||
|
||||
{
|
||||
return
|
||||
Response.AsJson(new JsonResponseModel
|
||||
{
|
||||
Message = "Could not add movie, please contract your administrator",
|
||||
Result = false
|
||||
});
|
||||
}
|
||||
if (!result.MovieSendingEnabled)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue