Skip to content

Commit 4c4fbf5

Browse files
committed
use saveWithBlacklistHandling in draftify-watch too
1 parent a38f20e commit 4c4fbf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reports/draftify-watch.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const {bot, mwn, log, utils, emailOnError, TextExtractor} = require('../botbase');
2-
const {formatSummary} = require('./commons');
2+
const {formatSummary, saveWithBlacklistHandling} = require('./commons');
33

44
(async () => {
55

@@ -151,7 +151,7 @@ const {formatSummary} = require('./commons');
151151
`\n\n==Moved back or deleted==` +
152152
`\n` + TextExtractor.finalSanitise(footertable.getText());
153153

154-
await bot.save('User:SDZeroBot/Draftify Watch', text, 'Updating report');
154+
await saveWithBlacklistHandling(new bot.page('User:SDZeroBot/Draftify Watch'), text, 'Updating report');
155155

156156
log('[i] Finished');
157157

0 commit comments

Comments
 (0)