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

Commit be82955

Browse files
committed
feat: optional background field
1 parent 5bdef40 commit be82955

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
@@ -272,7 +272,7 @@ instance FromJSONObject Deck where
272272
Deck
273273
<$> obj .: "slides"
274274
<*> obj .: "name"
275-
<*> obj .: "background"
275+
<*> obj .:? "background"
276276
<*> obj .: "owner_id"
277277
<*> obj .:? "attributes" .!= HMS.empty
278278

0 commit comments

Comments
 (0)