Deduplicate title of pages edited/created
This commit is contained in:
1 parent
156ea44f0d
commit
eb767a90f2
1 file changed
+1
-1
@@ -121,7 +121,7 @@ module.exports = async function(robot, kredits) {
|
||||
}
|
||||
|
||||
function pageTitlesFromChanges(changes) {
|
||||
return changes.map(c => `"${c.title}"`).join(', ');
|
||||
return [...new Set(changes.map(c => `"${c.title}"`))].join(', ');
|
||||
}
|
||||
|
||||
function calculateAmountForChanges(details) {
|
||||
|
||||
Reference in new issue
Block a user