Skip to content

Commit 38643a5

Browse files
committed
[repo] Specify MoodleBot as our UserAgent
1 parent 5d850f2 commit 38643a5

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)