diff options
| author | Bond_009 <bond.009@outlook.com> | 2022-02-15 18:59:46 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2022-02-15 18:59:46 +0100 |
| commit | 5732e6188c78e9e0de4a5557bfa9cfa64e05b506 (patch) | |
| tree | e3cd0ffe83f6202e949b864ba815e45bcd859ab7 /Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs | |
| parent | 5825a0572bdcd11afad283f1e62c07f5e2c61c06 (diff) | |
Fix some warnings
Diffstat (limited to 'Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs')
| -rw-r--r-- | Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs index 34780111b..7d60ea731 100644 --- a/Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs +++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs @@ -62,15 +62,10 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks }; } - /// <summary> - /// Returns the task to be executed. - /// </summary> - /// <param name="cancellationToken">The cancellation token.</param> - /// <param name="progress">The progress.</param> - /// <returns>Task.</returns> - public Task Execute(CancellationToken cancellationToken, IProgress<double> progress) + /// <inheritdoc /> + public Task ExecuteAsync(IProgress<double> progress, CancellationToken cancellationToken) { - return _libraryManager.ValidatePeople(cancellationToken, progress); + return _libraryManager.ValidatePeopleAsync(progress, cancellationToken); } } } |
