Change threshold for small wiki contributions #42

Merged
raucao merged 1 commits from chore/mediawiki_small_threshold into master 2019-08-14 10:51:48 +00:00

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;