File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ import GraphQL.Client.Http.Util as Util
21
21
import GraphQL.Request.Builder as Builder
22
22
import Http
23
23
import Task exposing (Task )
24
- import Time exposing (Time )
25
24
26
25
27
26
{- | An error returned by the GraphQL server that indicates there was something wrong with the request.
@@ -93,7 +92,7 @@ type alias RequestOptions =
93
92
{ method : String
94
93
, headers : List Http . Header
95
94
, url : String
96
- , timeout : Maybe Time
95
+ , timeout : Maybe Float
97
96
, withCredentials : Bool
98
97
}
99
98
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import GraphQL.Response as Response
4
4
import Http
5
5
import Json.Decode
6
6
import Json.Encode
7
- import Time exposing (Time )
8
7
import Url
9
8
10
9
@@ -54,7 +53,7 @@ type alias RequestOptions =
54
53
{ method : String
55
54
, headers : List Http . Header
56
55
, url : String
57
- , timeout : Maybe Time
56
+ , timeout : Maybe Float
58
57
, withCredentials : Bool
59
58
}
60
59
@@ -82,7 +81,7 @@ type alias RequestConfig a =
82
81
, url : String
83
82
, body : Http . Body
84
83
, expect : Http . Expect a
85
- , timeout : Maybe Time
84
+ , timeout : Maybe Float
86
85
, withCredentials : Bool
87
86
}
88
87
You can’t perform that action at this time.
0 commit comments