aboutsummaryrefslogtreecommitdiff
path: root/src/client/ServerCommunication.elm
diff options
context:
space:
mode:
authorJoris2015-09-05 14:14:25 +0200
committerJoris2015-09-05 14:14:25 +0200
commitcc6a51b5ca03ee1a3b5de7c32dd1324e1053f42a (patch)
treefe60948b87993908f73659c9dbd7ffd96498b7f8 /src/client/ServerCommunication.elm
parent3b738e0d4cc65f314da7389d4542ec826ba0f454 (diff)
downloadbudget-cc6a51b5ca03ee1a3b5de7c32dd1324e1053f42a.tar.gz
budget-cc6a51b5ca03ee1a3b5de7c32dd1324e1053f42a.tar.bz2
budget-cc6a51b5ca03ee1a3b5de7c32dd1324e1053f42a.zip
Renaming PaymentView to LoggedView
Diffstat (limited to 'src/client/ServerCommunication.elm')
-rw-r--r--src/client/ServerCommunication.elm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/ServerCommunication.elm b/src/client/ServerCommunication.elm
index 5ddcfb9..c38805b 100644
--- a/src/client/ServerCommunication.elm
+++ b/src/client/ServerCommunication.elm
@@ -35,7 +35,8 @@ sendRequest communication =
Nothing ->
Task.succeed U.NoOp
Just request ->
- (Http.send Http.defaultSettings request) `Task.andThen` (serverResult communication)
+ Http.send Http.defaultSettings request
+ |> flip Task.andThen (serverResult communication)
getRequest : Communication -> Maybe Http.Request
getRequest communication =