Skip to content

Commit

Permalink
- Merge-Upstream: Rebased recent commits from rileytestut/AltSign - p…
Browse files Browse the repository at this point in the history
…ossibly removes need for 2FA code on iOS 18.1+ (SideStore#3)
  • Loading branch information
mahee96 committed Dec 27, 2024
1 parent c980aae commit da43cc1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let package = Package(
name: "AltSign",
platforms: [
.iOS(.v14),
.macOS(.v11)
.macOS(.v11),
],
products: [
// MARK: - AltSign
Expand Down
5 changes: 3 additions & 2 deletions Sources/AltSign/ALTAppleAPI+Authentication.swift
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,9 @@ private extension ALTAppleAPI {
requestCodeTask.resume()
}

func fetchAccount(session: ALTAppleAPISession, completionHandler: @escaping (Result<ALTAccount, Error>) -> Void) {
let url = URL(string: "viewDeveloper.action", relativeTo: baseURL)!
func fetchAccount(session: ALTAppleAPISession, completionHandler: @escaping (Result<ALTAccount, Error>) -> Void)
{
let url = URL(string: "viewDeveloper.action", relativeTo: self.baseURL)!

self.sendRequest(with: url, additionalParameters: nil, session: session, team: nil) { (responseDictionary, requestError) in
do
Expand Down

0 comments on commit da43cc1

Please sign in to comment.