diff --git a/README.md b/README.md index 47ec08c..54f60f3 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,10 @@ npm install thingiverse-js const thingiverse = require('thingiverse-js'); const token = 'abcdefgh12345'; -thingiverse('users/me', { token }).then(res => { +thingiverse('users/me', { token: token }).then(res => { console.log('My location is "%s" on Thingiverse', res.body.location); return thingiverse.patch(`users/${res.body.name}`, { - token, + token: token, body: { location: 'New Caprica' } }); }).then(res => {