mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-25 04:43:03 +03:00
Extract value.
This commit is contained in:
parent
c72dfc8010
commit
339b3c3387
@ -123,6 +123,10 @@ start initialPath dataSourceSimulator =
|
||||
|> String.join ";"
|
||||
)
|
||||
|
||||
requestTime : ( String, Encode.Value )
|
||||
requestTime =
|
||||
( "requestTime", Encode.int 0 )
|
||||
|
||||
rawUrl : ( String, Encode.Value )
|
||||
rawUrl =
|
||||
( "rawUrl"
|
||||
@ -138,7 +142,7 @@ start initialPath dataSourceSimulator =
|
||||
RequestsAndPending.Response Nothing
|
||||
(RequestsAndPending.JsonBody
|
||||
(Encode.object
|
||||
[ ( "requestTime", Encode.int 0 )
|
||||
[ requestTime
|
||||
, ( "headers"
|
||||
, Encode.dict identity
|
||||
Encode.string
|
||||
@ -162,7 +166,7 @@ start initialPath dataSourceSimulator =
|
||||
RequestsAndPending.Response Nothing
|
||||
(RequestsAndPending.JsonBody
|
||||
(Encode.object
|
||||
[ ( "requestTime", Encode.int 0 )
|
||||
[ requestTime
|
||||
, ( "headers"
|
||||
, Encode.dict identity
|
||||
Encode.string
|
||||
|
Loading…
Reference in New Issue
Block a user