Skip to content

Commit

Permalink
Merge pull request #3729 from mozilla/bug/whats-new-token
Browse files Browse the repository at this point in the history
Update PAT for whats-new page
  • Loading branch information
johnshaughnessy authored Jan 20, 2021
2 parents fae548d + bbff36b commit 9600ff1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/whats-new.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,14 @@ class WhatsNew extends Component {
currentDate: null
};
async getNotes(page) {
// TODO Move this request to reticulum and return the results to the client
const endpoint = "https://api.github.com/repos/mozilla/hubs/pulls";
// Read-only, public access token.
const token = "de8cbfb4cc0281c7b731c891df431016c29b0ace";
// HACK - break the token in two so that it is not automatically revoked
// See https://github.com/mozilla/hubs/pull/3729
const token_start = "8247efa60";
const token_end = "655f4dd312b3d8085f78abadf845429";
const token = `${token_start}${token_end}`;
const params = [
"sort=created",
"direction=desc",
Expand Down

0 comments on commit 9600ff1

Please sign in to comment.