mirror of
https://gitlab.com/RemixDev/deezer-js.git
synced 2025-01-29 17:48:29 +00:00
Merge branch 'main' into 'main'
fix: removed options declaration in _generate_search_args calls See merge request RemixDev/deezer-js!1
This commit is contained in:
commit
c08a5c8592
|
@ -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