summaryrefslogtreecommitdiff
path: root/apex/Ibb.hs
diff options
context:
space:
mode:
Diffstat (limited to 'apex/Ibb.hs')
-rw-r--r--apex/Ibb.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/apex/Ibb.hs b/apex/Ibb.hs
index 544761d..e843987 100644
--- a/apex/Ibb.hs
+++ b/apex/Ibb.hs
@@ -101,6 +101,5 @@ serverHandlers = homeHandler
-- | for now we just have one api endpoint, which returns all the people
apiHandlers :: AcidState Keep.IbbKeep -> Server ApiRoutes
-apiHandlers keep = do
- people <- Acid.query' keep $ Keep.GetPeople 20
- return $ people
+apiHandlers keep =
+ Acid.query' keep $ Keep.GetPeople 20