tanepiper/node-bitly — Issue #6: Minor typo on line 85 of bitly.js
Author: nateweiss
Created: 2012-02-13 01:42:47+00:00
State: open

Hi--

First off, thanks for making your bit.ly module available.

There is what I am pretty sure is a small typo on line 85. The code refers to its callback as "callback" but the callback is called "cb" in the function declaration. This causes a runtime error when an API call fails, instead of what you'd expect which is for the error to be quietly passed to the callback.

Just passing that along.

Thanks again,
nate