Skip to content

Commit

Permalink
- fix key name
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmcl committed Nov 1, 2024
1 parent 1cee51f commit e7fe6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/KukaiCoreSwift/Services/TorusAuthService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public class TorusAuthService: NSObject {
completion(Result.failure(KukaiError.internalApplicationError(error: TorusAuthError.missingVerifier)))
}

let accessToken = data.userInfo["accessToken"] as? String
let accessToken = data.userInfo["access_token"] as? String

// Twitter API doesn't give us the bloody "@" handle for some reason. Fetch that first and overwrite the username property with the handle, if found
if authType == .twitter {
Expand Down

0 comments on commit e7fe6e2

Please sign in to comment.