fix: removed options declaration in _generate_search_args calls

This commit is contained in:
Roberto Tonino 2021-04-24 20:21:46 +02:00
parent 4d82a03863
commit c399c8b177

View file

@ -325,32 +325,32 @@ class API{
} }
search_album(query, options={}){ search_album(query, options={}){
const args = this._generate_search_args(query, options={}) const args = this._generate_search_args(query, options)
return this.api_call('search/album', args) return this.api_call('search/album', args)
} }
search_artist(query, options={}){ search_artist(query, options={}){
const args = this._generate_search_args(query, options={}) const args = this._generate_search_args(query, options)
return this.api_call('search/artist', args) return this.api_call('search/artist', args)
} }
search_playlist(query, options={}){ search_playlist(query, options={}){
const args = this._generate_search_args(query, options={}) const args = this._generate_search_args(query, options)
return this.api_call('search/playlist', args) return this.api_call('search/playlist', args)
} }
search_radio(query, options={}){ search_radio(query, options={}){
const args = this._generate_search_args(query, options={}) const args = this._generate_search_args(query, options)
return this.api_call('search/radio', args) return this.api_call('search/radio', args)
} }
search_track(query, options={}){ search_track(query, options={}){
const args = this._generate_search_args(query, options={}) const args = this._generate_search_args(query, options)
return this.api_call('search/track', args) return this.api_call('search/track', args)
} }
search_user(query, options={}){ search_user(query, options={}){
const args = this._generate_search_args(query, options={}) const args = this._generate_search_args(query, options)
return this.api_call('search/user', args) return this.api_call('search/user', args)
} }