diff --git a/scripts/dev-server.js b/scripts/dev-server.js index 71489954a..bba73b76b 100644 --- a/scripts/dev-server.js +++ b/scripts/dev-server.js @@ -64,7 +64,7 @@ server.listen(port, hostname, async () => { "apiUrl": "https://en.wikipedia.org/w/api.php", "username": process.env.MW_USERNAME, "password": process.env.MW_PASSWORD, - "oauth2Token": process.env.MW_OAUTH2_TOKEN, + "OAuth2AccessToken": process.env.MW_OAUTH2_TOKEN, "silent": true }); initTime = Date.now();