From 3254db880862ad39177fd2deba4a4de81c948258 Mon Sep 17 00:00:00 2001 From: shiva raj badu Date: Thu, 11 Sep 2025 16:57:31 +0545 Subject: [PATCH] fix: update presentation reference in summary --- servers/fastapi/api/v1/ppt/endpoints/slide_to_html.py | 2 +- .../custom-template/hooks/useLayoutSaving.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/servers/fastapi/api/v1/ppt/endpoints/slide_to_html.py b/servers/fastapi/api/v1/ppt/endpoints/slide_to_html.py index dced58f0..21bd8ea4 100644 --- a/servers/fastapi/api/v1/ppt/endpoints/slide_to_html.py +++ b/servers/fastapi/api/v1/ppt/endpoints/slide_to_html.py @@ -901,7 +901,7 @@ async def get_presentations_summary( } presentations.append( PresentationSummary( - presentation=row.presentation, + presentation_id=row.presentation, layout_count=row.layout_count, last_updated_at=row.last_updated_at, template=template, diff --git a/servers/nextjs/app/(presentation-generator)/custom-template/hooks/useLayoutSaving.ts b/servers/nextjs/app/(presentation-generator)/custom-template/hooks/useLayoutSaving.ts index 37767dd1..a1529edb 100644 --- a/servers/nextjs/app/(presentation-generator)/custom-template/hooks/useLayoutSaving.ts +++ b/servers/nextjs/app/(presentation-generator)/custom-template/hooks/useLayoutSaving.ts @@ -135,7 +135,6 @@ export const useLayoutSaving = ( toast.error("No slides were successfully converted"); return null; } - console.log(reactComponents); // First create/update the template metadata await fetch("/api/v1/ppt/template-management/templates", {