mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Reduce footprint of Account credentials API
This commit is contained in:
@@ -411,7 +411,7 @@ final class ReaderAPIAccountDelegate: AccountDelegate {
|
||||
|
||||
func accountDidInitialize(_ account: Account) {
|
||||
accountMetadata = account.metadata
|
||||
credentials = try? account.retrieveReaderAPIAuthCredentials()
|
||||
credentials = try? account.retrieveCredentials()
|
||||
}
|
||||
|
||||
static func validateCredentials(transport: Transport, credentials: Credentials, endpoint: URL?, completion: @escaping (Result<Credentials?, Error>) -> Void) {
|
||||
|
||||
Reference in New Issue
Block a user