Skip to content

Commit 646be7d

Browse files
committed
format
1 parent e3d306e commit 646be7d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Sources/Auth/Internal/APIClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ extension HTTPClient {
1212
interceptors.append(
1313
RetryRequestInterceptor(
1414
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.
1616
)
1717
)
1818
)

Sources/Auth/Internal/Contants.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ extension HTTPField.Name {
1818
}
1919

2020
let API_VERSIONS: [APIVersion.Name: APIVersion] = [
21-
._20240101: ._20240101,
21+
._20240101: ._20240101
2222
]
2323

2424
struct APIVersion {

Sources/Helpers/URLSession+AsyncAwait.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
/// - Returns: Data and response.
3535
public func upload(
3636
for request: HTTPRequest,
37-
from bodyData: Data) async throws -> (Data, HTTPResponse) {
37+
from bodyData: Data
38+
) async throws -> (Data, HTTPResponse) {
3839
guard let urlRequest = URLRequest(httpRequest: request) else {
3940
throw HTTPTypeConversionError.failedToConvertHTTPRequestToURLRequest
4041
}

0 commit comments

Comments
 (0)