Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Added new identity limit to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Caudle committed Jul 18, 2016
1 parent c9863d4 commit 93488e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/accountidentity.js
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 93488e2

Please sign in to comment.