mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 12:11:10 +00:00
Standardizes the cancellation token arguments
This commit is contained in:
1 parent
305f56702e
commit
5d2834b7fe
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -79,7 +79,7 @@ public class FireScheduledJobCommandHandler : ICommandHandler<FireScheduledJobCo
|
||||
return ApplicationErrors.Authorization.NotAuthorized;
|
||||
|
||||
// Get the scheduled job from the storage medium.
|
||||
Result<ScheduledJobEntity?> getScheduledJobResult = await _unitOfWork.ScheduledJobRepository.GetByIdAsync(command.ScheduledJobId, cancellationToken).ConfigureAwait(false);
|
||||
Result<ScheduledJobEntity?> getScheduledJobResult = await _unitOfWork.ScheduledJobRepository.GetByIdAsync(command.ScheduledJobId, cancellationToken: cancellationToken).ConfigureAwait(false);
|
||||
if (getScheduledJobResult.IsFailure)
|
||||
return getScheduledJobResult.Errors;
|
||||
if (getScheduledJobResult.Value is null)
|
||||
|
||||
Reference in new issue
Block a user