diff options
author | Joris | 2015-09-05 14:14:25 +0200 |
---|---|---|
committer | Joris | 2015-09-05 14:14:25 +0200 |
commit | cc6a51b5ca03ee1a3b5de7c32dd1324e1053f42a (patch) | |
tree | fe60948b87993908f73659c9dbd7ffd96498b7f8 /src/client/ServerCommunication.elm | |
parent | 3b738e0d4cc65f314da7389d4542ec826ba0f454 (diff) |
Renaming PaymentView to LoggedView
Diffstat (limited to 'src/client/ServerCommunication.elm')
-rw-r--r-- | src/client/ServerCommunication.elm | 3 |
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 = |