aboutsummaryrefslogtreecommitdiff
path: root/src/client/Reads.elm
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-08-01 00:31:36 +0200
committerJoris Guyonvarch2015-08-01 00:31:36 +0200
commitc345f9daa28e0c174b35413addf78df0a793f8c1 (patch)
tree206f1d9aeed76b5c9e6f6abd24c00a50ec6c54fd /src/client/Reads.elm
parent043d315c4b15608e04a07cd709e4caf5c3758c61 (diff)
downloadbudget-c345f9daa28e0c174b35413addf78df0a793f8c1.tar.gz
budget-c345f9daa28e0c174b35413addf78df0a793f8c1.tar.bz2
budget-c345f9daa28e0c174b35413addf78df0a793f8c1.zip
Adding error feedbacks when adding a payment
Diffstat (limited to 'src/client/Reads.elm')
-rw-r--r--src/client/Reads.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Reads.elm b/src/client/Reads.elm
index 7bc1bbc..f855802 100644
--- a/src/client/Reads.elm
+++ b/src/client/Reads.elm
@@ -6,5 +6,5 @@ module Reads
import Native.Reads
import Result exposing (Result)
-readInt : String -> Result String Int
+readInt : String -> Maybe Int
readInt = Native.Reads.readInt