Skip to content

Commit 0b8e226

Browse files
committed
Change int to boolean on useProduction attribute
1 parent 494e622 commit 0b8e226

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Please refer to the [SlicingDice official documentation](http://panel.slicingdic
2323
// If you need a demo API key visit: https://panel.slicingdice.com/docs/#api-details-api-connection-api-keys-demo-key
2424
String apiKey = String("YOUR_API_KEY");
2525
// if false will use test end-point, otherwise production end-point
26-
int useProduction = false;
26+
boolean useProduction = false;
2727
SlicingDice sd = SlicingDice(apiKey, useProduction);
2828

2929
void setup() {
@@ -106,7 +106,7 @@ Index data to existing entities or create new entities, if necessary. This metho
106106
// If you need a demo API key visit: https://panel.slicingdice.com/docs/#api-details-api-connection-api-keys-demo-key
107107
String apiKey = String("YOUR_API_KEY");
108108
// if false will use test end-point, otherwise production end-point
109-
int useProduction = false;
109+
boolean useProduction = false;
110110
SlicingDice sd = SlicingDice(apiKey, useProduction);
111111

112112
void setup() {

tests_and_examples/Simple.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Demo API key, if you need a new demo API key visit: https://panel.slicingdice.com/docs/#api-details-api-connection-api-keys-demo-key
55
String apiKey = String("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfX3NhbHQiOiJkZW1vMThtIiwicGVybWlzc2lvbl9sZXZlbCI6MywicHJvamVjdF9pZCI6MTc5LCJjbGllbnRfaWQiOjEwfQ.OTb6REW9JtYF9wVUZhXajq4wheU5ULNbM5iEmMCYhhM");
66
// if false will use test end-point, otherwise production end-point
7-
int useProduction = false;
7+
boolean useProduction = false;
88
SlicingDice sd = SlicingDice(apiKey, useProduction);
99

1010
void setup() {

0 commit comments

Comments
 (0)