aboutsummaryrefslogtreecommitdiff
path: root/src/server/Model/Json
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-08-13 22:55:41 +0200
committerJoris Guyonvarch2015-08-13 22:55:41 +0200
commit359f837511597354bc6462cfc4200f54d647d728 (patch)
tree13d896bd1280a735945609e890faa606abd135fa /src/server/Model/Json
parent35557ae09d10aa6388b79e2e19ee7702efb28bc6 (diff)
Giving the payment id to the client
Diffstat (limited to 'src/server/Model/Json')
-rw-r--r--src/server/Model/Json/Payment.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/Model/Json/Payment.hs b/src/server/Model/Json/Payment.hs
index de6beb9..f22c8cf 100644
--- a/src/server/Model/Json/Payment.hs
+++ b/src/server/Model/Json/Payment.hs
@@ -11,7 +11,8 @@ import Data.Text (Text)
import Data.Aeson
data Payment = Payment
- { creation :: UTCTime
+ { id :: Text
+ , creation :: UTCTime
, name :: Text
, cost :: Int
, userName :: Text