From 363d6ff4b515be55b5ce5edaf7ec1ec4ed0a0dda Mon Sep 17 00:00:00 2001 From: tycrek Date: Mon, 8 Jun 2020 08:01:10 -0600 Subject: [PATCH] Update wiki to point to main reddit wiki --- _wiki.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_wiki.js b/_wiki.js index 52cb1ec..9c0db47 100644 --- a/_wiki.js +++ b/_wiki.js @@ -12,7 +12,7 @@ const REDDIT_CLIENT_SECRET = process.env.REDDIT_CLIENT_SECRET || 'clientsecret'; // WIKI_: For the Reddit Wiki const WIKI_SUBREDDIT = 'privacy'; -const WIKI_PAGE = 'de-go-git'; +const WIKI_PAGE = 'de-google'; const WIKI_REASON = 'Automated edit from GitHub repo: https://github.com/tycrek/degoogle'; // Helps POST data be submitted properly @@ -35,7 +35,7 @@ function updateWiki() { let basicAuth = `Basic ${Buffer.from(REDDIT_CLIENT_ID + ':' + REDDIT_CLIENT_SECRET).toString('base64')}`; let lastId, token; - + getLastRevision(endpoints.revisions) .then((mLastId) => lastId = mLastId) .then(() => getToken(endpoints.token, basicAuth))