Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions AltServer/Devices/ALTDeviceManager+Installation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,10 @@ private extension ALTDeviceManager
{
return completionHandler(.success(team))
}
else if let team = teams.first(where: { $0.type == .organization })
{
return completionHandler(.success(team))
}
else if let team = teams.first(where: { $0.type == .free })
{
return completionHandler(.success(team))
Expand Down
4 changes: 4 additions & 0 deletions AltStore/Operations/AuthenticationOperation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,10 @@ private extension AuthenticationOperation
{
return completionHandler(.success(team))
}
else if let team = teams.first(where: { $0.type == .organization })
{
return completionHandler(.success(team))
}
else if let team = teams.first(where: { $0.type == .free })
{
return completionHandler(.success(team))
Expand Down