Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Juha Paananen committed Dec 13, 2011
1 parent ee6fcb1 commit edf5694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Util/Rest.hs
Expand Up @@ -19,5 +19,5 @@ jsonGet :: Data a => (String -> Snap (Maybe a)) -> Snap ()
jsonGet lookup = restfulGet $ \id -> do
maybeFound <- lookup id
case maybeFound of
nothing -> notFound
Nothing -> notFound
Just(val) -> writeLBS $ JSON.encode $ val

0 comments on commit edf5694

Please sign in to comment.