Skip to content

Commit 6e6dca1

Browse files
committed
fix warning
Non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
1 parent 9da4f48 commit 6e6dca1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/TwitterAPIKit/TwitterAPIClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ open class TwitterAPIClient {
8686
extension TwitterAPIClient {
8787
public typealias RefreshOAuth20TokenResultValue = (token: TwitterAuthenticationMethod.OAuth20, refreshed: Bool)
8888
/// Refresh OAuth2.0 token
89-
open func refreshOAuth20Token(
89+
public func refreshOAuth20Token(
9090
type: TwitterAuthenticationMethod.OAuth20WithPKCEClientType,
9191
forceRefresh: Bool = false,
9292
_ block: @escaping (Result<RefreshOAuth20TokenResultValue, TwitterAPIKitError>) -> Void

0 commit comments

Comments
 (0)