Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

Commit

Permalink
bad job :(
Browse files Browse the repository at this point in the history
  • Loading branch information
davipatury committed Aug 27, 2020
1 parent ef20af1 commit c1c0075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/structures/providers/spotify/SpotifyProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class SpotifyProvider {
this.getAlbum,
this.getPlaylist
]
.map(f => f(provider, identifier)))
.then(r => r.find(v => v)) // Find a valid match
.map(f => f(provider, identifier)))
.then(r => r.find(v => v)) // Find a valid match
}

static async getTrack (provider, identifier) {
Expand Down

0 comments on commit c1c0075

Please sign in to comment.