Skip to content

Commit 4bea83d

Browse files
authored
Merge pull request #3 from lonkelle/patch-6
Prefer organization accounts over free ones
2 parents 4246ed7 + 56d88b8 commit 4bea83d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

AltServer/Devices/ALTDeviceManager+Installation.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,10 @@ private extension ALTDeviceManager
322322
{
323323
return completionHandler(.success(team))
324324
}
325+
else if let team = teams.first(where: { $0.type == .organization })
326+
{
327+
return completionHandler(.success(team))
328+
}
325329
else if let team = teams.first(where: { $0.type == .free })
326330
{
327331
return completionHandler(.success(team))

0 commit comments

Comments
 (0)