mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-27 05:44:17 +03:00
Remove Debug statements.
This commit is contained in:
parent
e819b354df
commit
4d7039b50e
@ -161,7 +161,7 @@ action routeParams =
|
|||||||
|> Result.withDefault Nothing
|
|> Result.withDefault Nothing
|
||||||
|> Maybe.withDefault Session.empty
|
|> Maybe.withDefault Session.empty
|
||||||
in
|
in
|
||||||
case formResult |> Debug.log "formResult" of
|
case formResult of
|
||||||
Ok (DeleteItem itemId) ->
|
Ok (DeleteItem itemId) ->
|
||||||
okSessionThing
|
okSessionThing
|
||||||
|> Session.get "sessionId"
|
|> Session.get "sessionId"
|
||||||
@ -185,11 +185,9 @@ action routeParams =
|
|||||||
|
|
||||||
Just userId ->
|
Just userId ->
|
||||||
Data.Todo.delete
|
Data.Todo.delete
|
||||||
({ userId = userId
|
{ userId = userId
|
||||||
, itemId = Uuid itemId
|
, itemId = Uuid itemId
|
||||||
}
|
}
|
||||||
|> Debug.log "@delete"
|
|
||||||
)
|
|
||||||
|> Request.Hasura.mutationDataSource
|
|> Request.Hasura.mutationDataSource
|
||||||
|> DataSource.map
|
|> DataSource.map
|
||||||
(\() ->
|
(\() ->
|
||||||
|
Loading…
Reference in New Issue
Block a user