Skip to content

Commit 56d88b8

Browse files
authored
Prefer organization accounts over free ones
1 parent b17ba13 commit 56d88b8

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)