Standardizes the cancellation token arguments

This commit is contained in:
BinaryAlley committed 2026-09-15 14:34:58 +03:00
1 parent 305f56702e
commit 5d2834b7fe
2 files changed
+2 -2

No files matched your search

@@ -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)