Skip to content

Commit 37cbe5f

Browse files
committed
Use request with user agent
1 parent 24b9505 commit 37cbe5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Networking/Networking/Remote/IPLocationRemote.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public final class IPLocationRemote: Remote {
1212
return onCompletion(.failure(IPLocationError.malformedURL)) // Should not happen.
1313
}
1414

15-
let request = UnauthenticatedRequest(request: .init(url: url))
15+
let request = UnauthenticatedRequest(request: .init(url: url)).asURLRequest()
1616
let mapper = IPCountryCodeMapper()
1717
enqueue(request, mapper: mapper, completion: onCompletion)
1818
}

0 commit comments

Comments
 (0)