diff options
Diffstat (limited to 'src/server/Main.hs')
-rw-r--r-- | src/server/Main.hs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/server/Main.hs b/src/server/Main.hs index 3539120..3ac489e 100644 --- a/src/server/Main.hs +++ b/src/server/Main.hs @@ -54,10 +54,7 @@ main = do -- Payments - get "/payments" $ do - page <- param "page" :: ActionM Int - perPage <- param "perPage" :: ActionM Int - getPayments page perPage + get "/payments" getPayments get "/monthlyPayments" getMonthlyPayments |