refactor(BurnPdfCommand): add Report property to forward report.
- Reverse the order in which behaviors are added.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user