Skip to content

Commit

Permalink
Love kåren
Browse files Browse the repository at this point in the history
  • Loading branch information
The1Penguin committed Aug 14, 2024
1 parent d536c7a commit fb66640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Karen.hs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ parse lang =
menuParser :: Value -> Parser Menu
menuParser = withObject "Menu Object" $ \obj ->
Menu
<$> (obj .: "dishType" >>= (.: "name"))
<$> (obj .: "dishType" >>= maybe (pure "Unknown menu") (.: "name"))
<*> ((obj .: "displayNames") >>= withArray
"An array of meal names"
( mapM
Expand Down

0 comments on commit fb66640

Please sign in to comment.