ciaranj/node-oauth — pull request #145 by Jonahss (2013-05-31 19:53:21+00:00)
Title: Reorder of Callback Arguments

The popular node-request module is used just like like node-oauth, having get(), post(), put(), delete() methods.

But node-request's callback looks like this:

function(error, response, data){}

While node-oauth uses:

function(error, data, response){}

It's useful to switch simply from using node-request to node-oauth by replacing the dependency, so let's have the callback signatures conform so we can all keep it straight in our heads.