Permalink
Browse files

minor fix

  • Loading branch information...
1 parent 038613a commit 0ca467cc119e711806cbf42a22c7cf806ce29394 Edward Hotchkiss committed Sep 29, 2011
Showing with 3 additions and 2 deletions.
  1. +1 −1 lib/short.js
  2. +1 −0 models/ShortURL.js
  3. +1 −1 package.json
View
@@ -33,7 +33,7 @@ short.make = function(URL, callback) {
};
});
} else {
- callback(null, shortenedURLs[0]);
+ short.make(URL, callback);
}
}
});
View
@@ -69,6 +69,7 @@ ShortURL.updateHitsById = function(id, callback) {
});
};
+// test
var nodeTiny = new ShortURL({
URL : "http://nodejs.org/",
hash : "kQ4c"
View
@@ -2,7 +2,7 @@
"author": "Edward Hotchkiss <e@ingk.com>",
"name": "short",
"description": "Generate, retieve short urls over mongoose/mongodb/express",
- "version": "0.0.8",
+ "version": "0.0.9",
"repository": {
"type": "git",
"url": "git://github.com/edwardhotchkiss/short.git"

0 comments on commit 0ca467c

Please sign in to comment.