Enforcing async/await in synchronous methods that were marked async.

This commit is contained in:
smcpeck 2017-02-23 11:59:37 -06:00
commit a8288a93b0
4 changed files with 5 additions and 1 deletions

View file

@ -94,7 +94,6 @@ namespace Ombi.Api
request.AddHeader("X-Api-Key", apiKey);
request.AddJsonBody(options);
RadarrAddMovie result;
try
{
var policy = RetryHandler.RetryAndWaitPolicy((exception, timespan) => Log.Error(exception, "Exception when calling AddSeries for Sonarr, Retrying {0}", timespan), new TimeSpan[] {