summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/src/Comm/Send.elm')
-rw-r--r--src/login/src/Comm/Send.elm8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/login/src/Comm/Send.elm b/src/login/src/Comm/Send.elm
index 91b4177..22a4480 100644
--- a/src/login/src/Comm/Send.elm
+++ b/src/login/src/Comm/Send.elm
@@ -1,4 +1,4 @@
-module Comm.Send exposing (try_sending)
+module Comm.Send exposing (maybe_send)
-- Elm -------------------------------------------------------------------------
import Http
@@ -43,14 +43,14 @@ decode =
--------------------------------------------------------------------------------
-- EXPORTED --------------------------------------------------------------------
--------------------------------------------------------------------------------
-try_sending : (
+maybe_send : (
Struct.Model.Type ->
String ->
(Struct.Model.Type -> (Maybe Json.Encode.Value)) ->
(Maybe (Cmd Struct.Event.Type))
)
-try_sending model recipient try_encoding_fun =
- case (try_encoding_fun model) of
+maybe_send model recipient maybe_encod_fun =
+ case (maybe_encod_fun model) of
(Just serial) ->
(Just
(Http.post