diff options
author | Ben Sima <ben@bsima.me> | 2019-10-09 21:57:20 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-10-09 21:57:20 -0700 |
commit | a5262ff39577c1b4c8182b1fcde592a8c51e4c0a (patch) | |
tree | ae58236585229dfe53c270a69e6b347edc2b707a /apex/Ibb.hs | |
parent | 95366bcfe4ce9a6472294e6921352fdd0c902ee6 (diff) |
[ibb] fix compiler warning
Diffstat (limited to 'apex/Ibb.hs')
-rw-r--r-- | apex/Ibb.hs | 5 |
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 |