This commit is contained in:
Thomas Ricouard 2023-02-14 14:15:31 +01:00
parent 79c9ef4153
commit 498c2129fb

View file

@ -33,7 +33,7 @@ public extension AppAccount {
if let data = keychain.getData(key) { if let data = keychain.getData(key) {
if let account = try? decoder.decode(AppAccount.self, from: data) { if let account = try? decoder.decode(AppAccount.self, from: data) {
accounts.append(account) accounts.append(account)
account.save() try? account.save()
} }
} }
} }