Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adjustments to not hit the api so hard otherwise we get back a 402 :/

  • Loading branch information...
commit 44c2157433079010b1f1b12aa62e420cbf61a7c4 1 parent e8f6a3a
@edwardhotchkiss authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/node-klout.js
  2. +1 −1  package.json
View
4 lib/node-klout.js
@@ -8,13 +8,13 @@ var active = 0;
// next interval time
function nextTime() {
- active += 120;
+ active += 150;
return active;
};
Klout.getSingle = function(handles, callback) {
setTimeout(function() {
- if (Klout.key === null || Klout.key === "MY_API_KEY") {
+ if (Klout.key === null || Klout.key === "MY_API_KEY" || Klout.key === undefined) {
var error = { message : "set your Klout.key" };
callback(error, null);
} else {
View
2  package.json
@@ -2,7 +2,7 @@
"author": "Edward Hotchkiss <e@ingk.com>",
"name": "node-klout",
"description": "Extremely reliable Node.js Klout API Wrapper",
- "version": "0.0.8",
+ "version": "0.0.9",
"repository": {
"type": "git",
"url": "git://github.com/edwardhotchkiss/node-klout.git"
Please sign in to comment.
Something went wrong with that request. Please try again.