mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2026-08-19 05:03:28 +08:00
Removed now-unnecessary _checkHttpError and _checkCommunityError calls
This commit is contained in:
@@ -153,7 +153,8 @@ function request(community, url, key, time, tag, params, json, callback) {
|
||||
"qs": params,
|
||||
"json": !!json
|
||||
}, function(err, response, body) {
|
||||
if(community._checkHttpError(err, response, callback)) {
|
||||
if (err) {
|
||||
callback(err);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user