Fix mediawiki integration

Accidentally deleted a line in a recent PR, and it slipped through the
review.
This commit is contained in:
Basti 2020-10-29 15:09:36 +01:00
parent e305643f69
commit f05436e9b9
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72

View File

@ -145,6 +145,7 @@ module.exports = async function(robot, kredits) {
const dateNow = new Date();
const dateYesterday = dateNow.setDate(dateNow.getDate() - 1);
const date = (new Date(dateYesterday)).toISOString().split('T')[0];
const details = analyzeUserChanges(user, changes);
const amount = 500;
let desc = `Added ${details.charsAdded} characters of text.`;