diff options
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 = |