fix: allow theme to be None in presentation update

This commit is contained in:
sudipnext 2026-04-10 00:54:46 +05:45
parent 09d7b300fc
commit 9f2168a4c0

View file

@ -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: