From bad4659d5b6158e3e656533e7c55dbbf35819b29 Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Fri, 17 Apr 2026 08:35:22 +0200 Subject: [PATCH 1/6] fix(pitch-deck): include fm_scenarios in preview-data API response The admin preview was not returning fm_scenarios/fm_assumptions, so preferredScenarioId was always null and all financial slides fell back to Base Case (1M) instead of the version's scenario. Co-Authored-By: Claude Opus 4.6 (1M context) --- pitch-deck/app/api/preview-data/[versionId]/route.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pitch-deck/app/api/preview-data/[versionId]/route.ts b/pitch-deck/app/api/preview-data/[versionId]/route.ts index c8762ce..4d2d361 100644 --- a/pitch-deck/app/api/preview-data/[versionId]/route.ts +++ b/pitch-deck/app/api/preview-data/[versionId]/route.ts @@ -49,6 +49,8 @@ export async function GET(request: NextRequest, ctx: Ctx) { metrics: map.metrics || [], funding: (map.funding || [])[0] || null, products: map.products || [], + fm_scenarios: map.fm_scenarios || [], + fm_assumptions: map.fm_assumptions || [], _version: { name: ver.rows[0].name, status: ver.rows[0].status }, }) } From ede93a7774ccbc4747e90e8f0402f41cadbc06d0 Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Fri, 17 Apr 2026 08:47:05 +0200 Subject: [PATCH 2/6] chore: trigger rebuild after build verification From 65cc5200ea85d3f0a5f08732d4e04600fd04db87 Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Fri, 17 Apr 2026 08:55:11 +0200 Subject: [PATCH 3/6] chore: trigger coolify rebuild (fm_scenarios fix) From add7400b780efd6c9a1e53410391001048646631 Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Fri, 17 Apr 2026 09:45:48 +0200 Subject: [PATCH 4/6] chore: retrigger CI for pitch-deck fm_scenarios fix From 9f642901ab35801987d9cd7238e7f91f8a86e6cf Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Fri, 17 Apr 2026 09:53:47 +0200 Subject: [PATCH 5/6] chore: trigger pitch-deck CI build --- pitch-deck/next.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pitch-deck/next.config.js b/pitch-deck/next.config.js index 8fc2899..38ded9f 100644 --- a/pitch-deck/next.config.js +++ b/pitch-deck/next.config.js @@ -24,3 +24,5 @@ const nextConfig = { } module.exports = nextConfig +// build trigger 1776412414 +// build trigger 1776412427 From 2d61911d98a8b90f9d29e9897123e99969c6cb68 Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Fri, 17 Apr 2026 10:23:31 +0200 Subject: [PATCH 6/6] chore: trigger pitch-deck CI + deploy --- pitch-deck/next.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/pitch-deck/next.config.js b/pitch-deck/next.config.js index 38ded9f..e2e7d8f 100644 --- a/pitch-deck/next.config.js +++ b/pitch-deck/next.config.js @@ -26,3 +26,4 @@ const nextConfig = { module.exports = nextConfig // build trigger 1776412414 // build trigger 1776412427 +// 1776414211