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