Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit d0ea047

Browse files
committed
handler: optional slide content
1 parent 7f7741a commit d0ea047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/handler/src/DeckGo/Handler.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ data Slide = Slide
253253
instance FromJSONObject Slide where
254254
parseJSONObject = \obj ->
255255
Slide <$>
256-
obj .: "content" <*>
256+
obj .:? "content" .!= "" <*>
257257
obj .: "template" <*>
258258
obj .:? "attributes" .!= HMS.empty
259259

0 commit comments

Comments
 (0)