Skip to content

Commit

Permalink
haddock improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Michel Boucey committed Sep 13, 2016
1 parent ad8fbcf commit 39e37ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Database/Cayley/Client.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module Database.Cayley.Client (
, defaultCayleyConfig
, connectCayley
, query
, Shape
, queryShape

-- * REST API operations
Expand Down Expand Up @@ -88,8 +89,7 @@ queryShape c q =
doShape m _q = do
CayleyConfig {..} <- ask
r <- apiRequest
m (urlBase serverName apiVersion
++ "/shape/" ++ show queryLang)
m (urlBase serverName apiVersion ++ "/shape/" ++ show queryLang)
serverPort (RequestBodyBS _q)
case r of
Just o -> return $ A.fromJSON o
Expand Down

0 comments on commit 39e37ab

Please sign in to comment.