@superfan-app/spotify-auth 0.1.40 → 0.1.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -399,8 +399,9 @@ final class SpotifyAuthAuth: NSObject, SPTSessionManagerDelegate, SpotifyOAuthVi
|
|
|
399
399
|
throw SpotifyAuthError.sessionError("Session manager not initialized")
|
|
400
400
|
}
|
|
401
401
|
let scopes = try self.scopes
|
|
402
|
+
let sptScopes = SPTScope(rawValue: scopes.joined(separator: " "))
|
|
402
403
|
isAuthenticating = true
|
|
403
|
-
sessionManager.initiateSession(with:
|
|
404
|
+
sessionManager.initiateSession(with: sptScopes, options: .default, campaign: nil)
|
|
404
405
|
} catch {
|
|
405
406
|
isAuthenticating = false
|
|
406
407
|
handleError(error, context: "authentication_retry")
|