3
0
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:
reality 2013-10-24 20:35:29 +00:00
parent 96926ab5fa
commit a28ec17a6d

View File

@ -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) {