mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
Api changed again, so more fixes for #878
This commit is contained in:
parent
d87aa95dea
commit
6048053c3c
10 changed files with 20 additions and 20 deletions
|
@ -567,6 +567,7 @@ namespace Ombi.UI.Modules
|
|||
{
|
||||
if (ShouldAutoApprove(RequestType.Movie, settings, Username))
|
||||
{
|
||||
model.Approved = true;
|
||||
|
||||
var result = await MovieSender.Send(model);
|
||||
if (result.Result)
|
||||
|
@ -576,8 +577,7 @@ namespace Ombi.UI.Modules
|
|||
}
|
||||
if (!result.MovieSendingEnabled)
|
||||
{
|
||||
|
||||
model.Approved = true;
|
||||
|
||||
return await AddRequest(model, settings, $"{fullMovieName} {Resources.UI.Search_SuccessfullyAdded}");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue