diff options
author | Joris | 2016-01-03 23:37:14 +0100 |
---|---|---|
committer | Joris | 2016-01-03 23:46:19 +0100 |
commit | d9df5c3fcffe12aac239b58ccf2fd82c19c3be62 (patch) | |
tree | aee62828e85c9d30e2beb5954062942f0d5d53f4 /src/server/Main.hs | |
parent | d22d10da342520163014dda255d5d9bd5e1a80c0 (diff) |
Validate add payment server side
Diffstat (limited to 'src/server/Main.hs')
-rw-r--r-- | src/server/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/Main.hs b/src/server/Main.hs index 9f21873..e5d8cca 100644 --- a/src/server/Main.hs +++ b/src/server/Main.hs @@ -61,7 +61,7 @@ main = do post "/payment/add" $ do name <- param "name" :: ActionM Text - cost <- param "cost" :: ActionM Int + cost <- param "cost" :: ActionM Text frequency <- param "frequency" :: ActionM Frequency createPayment name cost frequency |