Skip to content

Commit 53cad8d

Browse files
committed
Fix typo
1 parent f630f35 commit 53cad8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Networkable/URLRequestFactory.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ public struct DefaultURLRequestFactory: URLRequestFactory {
2323
public var timeoutInterval: TimeInterval
2424

2525
public init(
26-
host: String,
26+
baseURL: String,
2727
cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
2828
timeoutInterval: TimeInterval = 60) {
29-
self.baseURL = host
29+
self.baseURL = baseURL
3030
self.cachePolicy = cachePolicy
3131
self.timeoutInterval = timeoutInterval
3232
}

0 commit comments

Comments
 (0)