Commit b53855d7 by Ben Drucker

Simplify resolving response body

parent f40ca241
......@@ -57,9 +57,7 @@ ClearbitClient.prototype.request = function (options) {
user_agent: 'ClearbitNode/v' + pkg.version
}
)
.spread(function (response) {
return response.body;
});
.get(1);
};
module.exports = ClearbitClient;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment