Merge pull request #42 from 67P/chore/mediawiki_small_threshold

Change threshold for small wiki contributions
This commit was merged in pull request #42.
This commit is contained in:
Greg Karékinian
2019-08-14 12:51:48 +02:00
committed by GitHub

View File

@@ -129,8 +129,7 @@ module.exports = async function(robot, kredits) {
function calculateAmountForChanges(details) {
let amount;
if (details.charsAdded < 280) {
// less than a tweet
if (details.charsAdded < 500) {
amount = 500;
} else if (details.charsAdded < 2000) {
amount = 1500;