refactor(BurnPdfCommand): add Report property to forward report.

- Reverse the order in which behaviors are added.
This commit is contained in:
2025-11-12 12:47:19 +01:00
parent 958bcdfc42
commit e68965543e
5 changed files with 100 additions and 6 deletions

View File

@@ -39,9 +39,7 @@ public class AddReportBehavior : IPipelineBehavior<BurnPdfCommand, byte[]>
{
var docResult = await next(cancel);
var report = await CreateReport(request.Envelope!, cancel);
var reportBase64 = Convert.ToBase64String(report);
request.Report = await CreateReport(request.Envelope!, cancel);
return docResult;
}