From 9f2168a4c0a3bc3620a77d64cb250bb4f9dcd48e Mon Sep 17 00:00:00 2001 From: sudipnext Date: Fri, 10 Apr 2026 00:54:46 +0545 Subject: [PATCH] fix: allow theme to be None in presentation update --- electron/servers/fastapi/api/v1/ppt/endpoints/presentation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/servers/fastapi/api/v1/ppt/endpoints/presentation.py b/electron/servers/fastapi/api/v1/ppt/endpoints/presentation.py index ec147dce..a26eaa57 100644 --- a/electron/servers/fastapi/api/v1/ppt/endpoints/presentation.py +++ b/electron/servers/fastapi/api/v1/ppt/endpoints/presentation.py @@ -407,7 +407,7 @@ async def update_presentation( presentation_update_dict["n_slides"] = n_slides if title: presentation_update_dict["title"] = title - if theme: + if theme or theme is None: presentation_update_dict["theme"] = theme if presentation_update_dict: