mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-08 06:00:50 -07:00
Enforcing async/await in synchronous methods that were marked async.
This commit is contained in:
parent
fa1540717b
commit
a8288a93b0
4 changed files with 5 additions and 1 deletions
|
@ -47,6 +47,8 @@ namespace Ombi.UI.Modules
|
|||
|
||||
public async Task<Response> Netflix(string title)
|
||||
{
|
||||
await Task.Yield();
|
||||
|
||||
var result = NetflixApi.CheckNetflix(title);
|
||||
|
||||
if (!string.IsNullOrEmpty(result.Message))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue