Skip to content

Commit

Permalink
- app.json
Browse files Browse the repository at this point in the history
  • Loading branch information
elanoism committed Jan 17, 2017
1 parent 391ff6b commit daf6615
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ coverage
lib
dist
npm-debug.log
/examples/node/app.json
4 changes: 4 additions & 0 deletions examples/node/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"client_id": "",
"app_secret":""
}
2 changes: 1 addition & 1 deletion examples/node/upload.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const pcloud = require('../../lib');
const app = require('./app.json');
const invariant = require('invariant');
const app = require('./app.json');

invariant(app, 'Missing `app.json`.');
invariant(app.access_token, 'Missing `access_token` in `app.json`. Run `node token.js`');
Expand Down

0 comments on commit daf6615

Please sign in to comment.