mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-03-03 15:10:21 +08:00
Fixed callback error type consistency
This commit is contained in:
parent
62c2f1b965
commit
01093f38fa
@ -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"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user