Skip to content

Commit 1ba5c5c

Browse files
committed
Manual lint
1 parent 241905b commit 1ba5c5c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/ComposableArchitecturePattern/Server.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public protocol Server: Actor {
2121
/// The current environment being used by this server to process requests.
2222
var currentEnvironment: ServerEnvironment? { get }
2323
/// Additional headers that may be required/needed for interaction with this server.
24-
var additionalHTTPHeaders: [String : String]? { get }
24+
var additionalHTTPHeaders: [String: String]? { get }
2525
/// Whether or not to log all activity wtih this server.
2626
var logActivity: LogActivity { get }
2727

@@ -48,7 +48,6 @@ public protocol Server: Actor {
4848
///
4949
/// - Note: The server automatically checks against these values to check whether they're supported by the API or not. For instance, if the specified return type is not supported, a `ServerAPIError.badRequest` error is thrown. If the specified API doesn't support this function, a `ServerAPIError.badRequest` error is thrown.
5050
func get<A: ServerAPI, T: Codable>(_ api: A, queries: [URLQueryItem]?, httpBodyOverride httpBody: Data?, timeoutInterval: TimeInterval?, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy, keyDecodingStrategy: JSONDecoder.KeyDecodingStrategy) async throws -> T
51-
5251
/// Sends a POST request and returns the specified value type from the given API.
5352
///
5453
/// - Note: The server automatically checks against these values to check whether they're supported by the API or not. For instance, if the specified return type is not supported, a `ServerAPIError.badRequest` error is thrown. If the specified API doesn't support this function, a `ServerAPIError.badRequest` error is thrown.

0 commit comments

Comments
 (0)