Skip to content

Commit

Permalink
fixup! Switch to error-first callback arg convention.
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Tilles committed Apr 14, 2015
1 parent e073b63 commit 144a8d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sailthru.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class SailthruRequest
statusCode: 0,
error: 0,
errormsg: error.message
callback json_err, error.message,
callback json_err, error.message
req.on 'error', (err) ->
callback err, err.message
req.end()
Expand Down

0 comments on commit 144a8d3

Please sign in to comment.