File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ extension HTTPClient {
12
12
interceptors. append (
13
13
RetryRequestInterceptor (
14
14
retryableHTTPMethods: RetryRequestInterceptor . defaultRetryableHTTPMethods. union (
15
- [ . post] // Add POST method so refresh token are also retried.
15
+ [ . post] // Add POST method so refresh token are also retried.
16
16
)
17
17
)
18
18
)
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ extension HTTPField.Name {
18
18
}
19
19
20
20
let API_VERSIONS : [ APIVersion . Name : APIVersion ] = [
21
- . _20240101: . _20240101,
21
+ . _20240101: . _20240101
22
22
]
23
23
24
24
struct APIVersion {
Original file line number Diff line number Diff line change 34
34
/// - Returns: Data and response.
35
35
public func upload(
36
36
for request: HTTPRequest ,
37
- from bodyData: Data ) async throws -> ( Data , HTTPResponse ) {
37
+ from bodyData: Data
38
+ ) async throws -> ( Data , HTTPResponse ) {
38
39
guard let urlRequest = URLRequest ( httpRequest: request) else {
39
40
throw HTTPTypeConversionError . failedToConvertHTTPRequestToURLRequest
40
41
}
You can’t perform that action at this time.
0 commit comments