diff options
Diffstat (limited to 'server/src/Main.hs')
-rw-r--r-- | server/src/Main.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/Main.hs b/server/src/Main.hs index 40b53b6..b2672e4 100644 --- a/server/src/Main.hs +++ b/server/src/Main.hs @@ -59,6 +59,9 @@ main = do perPage <- S.param "perPage" Income.list page perPage + S.get "/api/deprecated/incomes" $ do + Income.deprecatedList + S.post "/api/income" $ S.jsonData >>= Income.create |