Removed now-unnecessary _checkHttpError and _checkCommunityError calls

This commit is contained in:
Alexander Corn
2016-03-04 23:59:49 -05:00
parent fce2560abe
commit 1032b1f832
12 changed files with 74 additions and 140 deletions

View File

@@ -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;
}