mirror of
https://gitlab.com/RemixDev/deezer-js.git
synced 2024-12-28 18:36:23 +00:00
fix: removed options declaration in _generate_search_args calls
This commit is contained in:
parent
4d82a03863
commit
c399c8b177
|
@ -325,32 +325,32 @@ class API{
|
|||
}
|
||||
|
||||
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)
|
||||
}
|
||||
|
||||
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)
|
||||
}
|
||||
|
||||
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)
|
||||
}
|
||||
|
||||
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)
|
||||
}
|
||||
|
||||
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)
|
||||
}
|
||||
|
||||
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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue