Skip to content

Commit 70cdc6a

Browse files
authored
Merge pull request #1418 from andrewnicols/moodlebotAgent
[repo] Specify MoodleBot as our UserAgent
2 parents 5d850f2 + 38643a5 commit 70cdc6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/utils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ const getClient = (remoteHost) => new Bot({
109109
debug: !!process.env.WIKIMEDIA_DEBUG,
110110
username: process.env.WIKIMEDIA_USER,
111111
password: process.env.WIKIMEDIA_SECRET,
112+
userAgent: 'MoodleBot',
112113
});
113114

114115
const getLogger = () => winston.createLogger({

0 commit comments

Comments
 (0)