From b793cef601b205ca26042facb8e69367f895613f Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Mon, 16 Nov 2020 10:13:04 -0500 Subject: [PATCH] less space --- sina/src/Main.elm | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/sina/src/Main.elm b/sina/src/Main.elm index 6f7a98a..80dcbeb 100644 --- a/sina/src/Main.elm +++ b/sina/src/Main.elm @@ -45,10 +45,7 @@ update msg model = (Mi.expectJson ValidateFront Mi.Switch.decoder) , Mi.request "GET" - (Maybe.withDefault - "" - model.token - ) + (Maybe.withDefault "" model.token) (Mi.Switch.listURL 30 model.switchPage) Http.emptyBody (Mi.expectJson ValidateSwitches (Json.Decode.list Mi.Switch.decoder)) @@ -69,10 +66,7 @@ update msg model = ( model , Mi.request "GET" - (Maybe.withDefault - "" - model.token - ) + (Maybe.withDefault "" model.token) (Mi.Switch.listURL 30 model.switchPage) Http.emptyBody (Mi.expectJson ValidateSwitches (Json.Decode.list Mi.Switch.decoder))