The accounts property returns all accounts.

This commit is contained in:
Brent Simmons 2019-08-01 21:52:12 -07:00
parent 31e089fc1d
commit e800b13f01

View File

@ -56,7 +56,7 @@ extension NSApplication : ScriptingObjectContainer {
@objc(accounts)
func accounts() -> NSArray {
let accounts = AccountManager.shared.activeAccounts
let accounts = AccountManager.shared.accounts
return accounts.map { ScriptableAccount($0) } as NSArray
}