.
This commit is contained in:
@@ -99,6 +99,8 @@ public class MarketingAnalysisService {
|
||||
|
||||
// Generate markdown content for PDF
|
||||
String markdownContent = buildMarkdownFromReport(reportData, request);
|
||||
// Save markdown content into report data so frontend gets JSON code blocks
|
||||
reportData.put("fullAnalysis", markdownContent);
|
||||
|
||||
// Generate PDF
|
||||
byte[] pdfBytes = researchPdfService.generatePdfReport(
|
||||
|
||||
Reference in New Issue
Block a user