Skip to content

Commit 796dd0a

Browse files
westerlundJagCesar
authored andcommitted
Remove unused parameter in callback
1 parent 22dc96c commit 796dd0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/WebRequest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ final class WebRequest {
5858
request.httpMethod = method.rawValue
5959
let session = URLSession(configuration: .default)
6060

61-
let task = session.dataTask(with: request) { data, response, error -> Void in
61+
let task = session.dataTask(with: request) { data, _, error -> Void in
6262
if let error = error {
6363
completion(nil, error)
6464
return

0 commit comments

Comments
 (0)