mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 03:33:07 +01:00
pass some limit params
This commit is contained in:
parent
96926ab5fa
commit
a28ec17a6d
@ -32,7 +32,8 @@ var lastfm = function(dbot) {
|
||||
'method': 'artist.gettoptracks',
|
||||
'mbid': mbid,
|
||||
'api_key': this.config.api_key,
|
||||
'format': 'json'
|
||||
'format': 'json',
|
||||
'limit': 10
|
||||
},
|
||||
'json': true
|
||||
}, function(err, res, body) {
|
||||
@ -53,7 +54,8 @@ var lastfm = function(dbot) {
|
||||
'method': 'artist.getsimilar',
|
||||
'mbid': mbid,
|
||||
'api_key': this.config.api_key,
|
||||
'format': 'json'
|
||||
'format': 'json',
|
||||
'limit': 10
|
||||
},
|
||||
'json': true
|
||||
}, function(err, res, body) {
|
||||
|
Loading…
Reference in New Issue
Block a user