mirror of
https://github.com/yattee/yattee.git
synced 2026-11-06 03:47:17 +00:00
Prune a record only once nothing of it is left behind
This commit is contained in:
@@ -243,7 +243,8 @@ extension PipedCredentialsManager: AccountCredentialsManager {
|
||||
accountCredentials.migrateCredential(forAccountID: accountID, fromScope: sourceScope)
|
||||
}
|
||||
|
||||
func deleteCredential(forAccountID accountID: UUID, inScope scope: String) {
|
||||
@discardableResult
|
||||
func deleteCredential(forAccountID accountID: UUID, inScope scope: String) -> Bool {
|
||||
accountCredentials.deleteCredential(forAccountID: accountID, inScope: scope)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user