Pass cancellationToken to next() in pipeline behaviors

Updated the `Handle` method in multiple classes implementing
`IPipelineBehavior<SignCommand, Unit>` to pass the `cancellationToken`
parameter to the `next()` method. This change ensures consistent
propagation of the `cancellationToken` through the pipeline, enabling
proper handling of cancellation requests during asynchronous operations.

Modified files:
- AnnotationBehavior.cs
- DocStatusBehavior.cs
- HistoryBehavior.cs
- SendSignedMailBehavior.cs
This commit is contained in:
2026-06-09 19:07:38 +02:00
parent 19824afc1c
commit 9174065365
4 changed files with 4 additions and 4 deletions

View File

@@ -79,7 +79,7 @@ public class SendSignedMailBehavior : IPipelineBehavior<SignCommand, Unit>
await _emailOutRepo.CreateAsync(emailOut, cancellationToken);
return await next();
return await next(cancellationToken);
}
private Dictionary<string, string> CreatePlaceHolders(SignCommand request)