updated according to pr comments

This commit is contained in:
Almir Kadric
2014-09-19 09:54:21 +00:00
parent 147488ba3a
commit 8860bdaf18

View File

@@ -22,7 +22,9 @@ module.exports = function (url, options, cb) {
};
}
} catch (error) {
cb(error);
return process.nextTick(function () {
cb(error);
});
}
// Set method to POST and call it