Fixed callback error type consistency

This commit is contained in:
Jake Forrester 2015-07-30 13:45:07 -07:00
parent 62c2f1b965
commit 01093f38fa

View File

@ -17,7 +17,7 @@ SteamCommunity.prototype.getMarketApps = function(callback) {
var appid = url.substr(url.indexOf('=') + 1);
apps[appid] = name;
});
callback(false, apps);
callback(null, apps);
} else {
callback(new Error("Malformed response"));
}