From a5262ff39577c1b4c8182b1fcde592a8c51e4c0a Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 9 Oct 2019 21:57:20 -0700 Subject: [ibb] fix compiler warning --- apex/Ibb.hs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'apex') 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 -- cgit v1.2.3