Skip to content

Commit

Permalink
docs: adapt the code examples to version v1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianWowra committed Jul 29, 2023
1 parent 1a08ded commit 3361e10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async function start() {
console.log(JSON.stringify(r));

// Post new sensor data
const data: client.PostNewMeasurementsData = [];
const data: client.PostNewMeasurementsParamData = [];
const authToken = 'Your senseBox token';

data.push({
Expand Down
2 changes: 1 addition & 1 deletion examples/ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ async function start() {
console.log(JSON.stringify(r));

// Post new sensor data
const data: client.PostNewMeasurementsData = [];
const data: client.PostNewMeasurementsParamData = [];
const authToken = 'Your senseBox token';

data.push({
Expand Down

0 comments on commit 3361e10

Please sign in to comment.