Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Commit

Permalink
private sheet support via #64
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoma committed Oct 6, 2019
1 parent 896e4b2 commit 4588270
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/tabletop.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@
this.baseJsonPath += 'json-in-script';
}

if (this.authkey) {
this.baseJsonPath += '&oauth_token=' + this.authkey;
}

if(!this.wait) {
return this.fetch();
}
Expand Down Expand Up @@ -373,6 +377,9 @@
if (this.reverse) {
jsonPath += '&reverse=true';
}
if (this.authkey) {
jsonPath += '&oauth_token=' + this.authkey;
}
toLoad.push(jsonPath);
}
}
Expand Down

0 comments on commit 4588270

Please sign in to comment.