File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 "
You can’t perform that action at this time.
0 commit comments