From 3b738e0d4cc65f314da7389d4542ec826ba0f454 Mon Sep 17 00:00:00 2001 From: Joris Date: Sat, 5 Sep 2015 13:53:36 +0200 Subject: Using UserId instead of UserName to indentify users --- src/client/View/Payments/Add.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/View/Payments/Add.elm') diff --git a/src/client/View/Payments/Add.elm b/src/client/View/Payments/Add.elm index 115fed2..32233ed 100644 --- a/src/client/View/Payments/Add.elm +++ b/src/client/View/Payments/Add.elm @@ -31,7 +31,7 @@ addPayment model paymentView = [ class "add" , case (validateName paymentView.add.name model.translations, validateCost paymentView.add.cost model.translations) of (Ok name, Ok cost) -> - onSubmitPrevDefault serverCommunications.address (SC.AddPayment paymentView.userName name cost) + onSubmitPrevDefault serverCommunications.address (SC.AddPayment paymentView.me name cost) (resName, resCost) -> onSubmitPrevDefault actions.address (UpdatePayment <| UpdateAdd <| AddError (toMaybeError resName) (toMaybeError resCost)) ] -- cgit v1.2.3