We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
WPAccount
nil
1 parent fa31858 commit 7bfce84Copy full SHA for 7bfce84
WordPress/Classes/Models/WPAccount+Lookup.swift
@@ -18,7 +18,7 @@ public extension WPAccount {
18
// This is here in an extension that belongs to the apps target so we can decouple WPAccount from AppConfiguration.
19
// Decoupling allows moving the type to WordPressData, see https://github.com/wordpress-mobile/WordPress-iOS/issues/24165.
20
@objc
21
- static func tokenForUsername(_ username: String) -> String {
+ static func tokenForUsername(_ username: String) -> String? {
22
token(forUsername: username, isJetpack: AppConfiguration.isJetpack)
23
}
24
0 commit comments