Skip to content

Commit

Permalink
Update MDeveloperTokenProvider.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
rudrankriyam authored Jul 29, 2023
1 parent e528c1a commit c64641a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/MusadoraKit/Requests/MDeveloperTokenProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
import Foundation

/// A class that implements the `MusicTokenProvider` protocol for providing **custom** developer tokens in the Apple Music API.
class MDeveloperTokenProvider: MusicTokenProvider, @unchecked Sendable {
public class MDeveloperTokenProvider: MusicTokenProvider, @unchecked Sendable {

/// The **custom** developer token used for API requests.
private var developerToken: String = ""

/// Initializes a new `MDeveloperTokenProvider` instance with the given **custom** developer token.
///
/// - Parameter developerToken: The **custom** developer token to use for API requests.
convenience init(developerToken: String) {
public convenience init(developerToken: String) {
self.init()
self.developerToken = developerToken
}
Expand Down

0 comments on commit c64641a

Please sign in to comment.