mirror of
https://gitlab.com/RemixDev/deezer-js.git
synced 2024-12-29 10:56:12 +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={}){
|
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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue