From 889df8caf04de5f10a9e623bab3e502e9573159d Mon Sep 17 00:00:00 2001 From: Joris Date: Thu, 3 Sep 2015 23:32:39 +0200 Subject: Give the payments count to the client --- src/server/Main.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/server/Main.hs') diff --git a/src/server/Main.hs b/src/server/Main.hs index 61613e6..ce652d0 100644 --- a/src/server/Main.hs +++ b/src/server/Main.hs @@ -57,6 +57,9 @@ main = do get "/payments/total" $ do getTotalPaymentsAction + get "/payments/count" $ do + getPaymentsCountAction + post "/signOut" $ signOutAction -- cgit v1.2.3