diff --git a/classes/CMarketSearchResult.js b/classes/CMarketSearchResult.js index 8e6aca5..8994cff 100644 --- a/classes/CMarketSearchResult.js +++ b/classes/CMarketSearchResult.js @@ -69,7 +69,7 @@ function performSearch(request, qs, results, callback) { callback(null, results); } else { qs.start += body.pagesize; - performSearch(request, qs, results, callback); + performSearch.call(self, request, qs, results, callback); } }); }