Skip to content

Commit 33eb800

Browse files
committed
Remove unused argument
1 parent 1454682 commit 33eb800

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WordPress/Classes/Login/WordPressDotComAuthenticator.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ struct WordPressDotComAuthenticator {
8585
WPAnalytics.track(.wpcomWebSignIn, properties: ["stage": "start"])
8686

8787
do {
88-
let value = try await _authenticate(from: viewController)
88+
let value = try await _authenticate()
8989
WPAnalytics.track(.wpcomWebSignIn, properties: ["stage": "success"])
9090
return value
9191
} catch {
@@ -94,7 +94,7 @@ struct WordPressDotComAuthenticator {
9494
}
9595
}
9696

97-
private func _authenticate(from viewController: UIViewController) async throws -> String {
97+
private func _authenticate() async throws -> String {
9898
let clientId = ApiCredentials.client
9999
let clientSecret = ApiCredentials.secret
100100
let redirectURI = "x-wordpress-app://oauth2-callback"

0 commit comments

Comments
 (0)