File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import gleam/bit_string
14
14
import gleam/dynamic . { Dynamic }
15
15
import gleam/int
16
16
import gleam/list
17
- import gleam/option . { None , Option , Some }
17
+ import gleam/option . { Option , Some }
18
18
import gleam/regex
19
19
import gleam/result
20
20
import gleam/string
@@ -148,12 +148,12 @@ pub type Service(in, out) =
148
148
pub fn req_to_uri(request: Request(a)) -> Uri {
149
149
Uri(
150
150
scheme: Some(scheme_to_string(request.scheme)),
151
- userinfo: None,
151
+ userinfo: option. None,
152
152
host: Some(request.host),
153
153
port: request.port,
154
154
path: request.path,
155
155
query: request.query,
156
- fragment: None,
156
+ fragment: option. None,
157
157
)
158
158
}
159
159
@@ -203,7 +203,7 @@ pub fn get_query(
203
203
) -> Result(List(tuple(String, String)), Nil) {
204
204
case request.query {
205
205
Some(query_string) -> uri.parse_query(query_string)
206
- None -> Ok([])
206
+ option. None -> Ok([])
207
207
}
208
208
}
209
209
@@ -368,9 +368,9 @@ pub fn default_req() -> Request(BitString) {
368
368
body: <<>>,
369
369
scheme: Https,
370
370
host: "localhost",
371
- port: None,
371
+ port: option. None,
372
372
path: "",
373
- query: None,
373
+ query: option. None,
374
374
)
375
375
}
376
376
You can’t perform that action at this time.
0 commit comments