mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Fixed an issue where we were retrying the API call when the Plex users login creds were invalid.
#1217 Also removed the Auto update button from the Update page
This commit is contained in:
parent
af023fb9d5
commit
41021240c9
4 changed files with 27 additions and 21 deletions
|
@ -77,8 +77,7 @@ namespace Ombi.Api
|
|||
|
||||
request.AddJsonBody(userModel);
|
||||
|
||||
var obj = RetryHandler.Execute<PlexAuthentication>(() => Api.Execute<PlexAuthentication> (request, new Uri(SignInUri)),
|
||||
(exception, timespan) => Log.Error (exception, "Exception when calling SignIn for Plex, Retrying {0}", timespan));
|
||||
var obj = Api.Execute<PlexAuthentication> (request, new Uri(SignInUri));
|
||||
|
||||
return obj;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue