From a28ec17a6d57b92fb6d7cbb7d1bb23110cd3c319 Mon Sep 17 00:00:00 2001 From: reality Date: Thu, 24 Oct 2013 20:35:29 +0000 Subject: [PATCH] pass some limit params --- modules/lastfm/lastfm.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/lastfm/lastfm.js b/modules/lastfm/lastfm.js index ae6e4bc..8893c2f 100644 --- a/modules/lastfm/lastfm.js +++ b/modules/lastfm/lastfm.js @@ -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) {