From 93488e29824bbc187a3c2b7a8a792353d902d800 Mon Sep 17 00:00:00 2001 From: Richard Caudle Date: Mon, 18 Jul 2016 15:27:32 +0100 Subject: [PATCH] Added new identity limit to examples --- examples/accountidentity.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/accountidentity.js b/examples/accountidentity.js index e281f94..8af1930 100644 --- a/examples/accountidentity.js +++ b/examples/accountidentity.js @@ -122,7 +122,7 @@ function updateToken() { // Creates an identity limit: function createLimit() { - ds.limit.create({ "identity_id": identityId, "service": "facebook", "total_allowance": 10000 }, function(err, response) { + ds.limit.create({ "identity_id": identityId, "service": "facebook", "total_allowance": 10000, "analyze_queries": 500 }, function(err, response) { if(err) console.log(err); else @@ -161,7 +161,7 @@ function getIdentityServiceLimit() { // Updates the limit for an identity: function updateLimit() { - ds.limit.update({ "identity_id": identityId, "service": "facebook", "total_allowance": 20000 }, function(err, response) { + ds.limit.update({ "identity_id": identityId, "service": "facebook", "total_allowance": 20000, "analyze_queries": 600 }, function(err, response) { if(err) console.log(err); else