Change threshold for small wiki contributions

Turns out 280 is a bit low. Let's try 500 instead.
This commit is contained in:
Basti 2019-08-14 12:46:19 +02:00
parent 67fd9ff031
commit 9a4dc43aa5
No known key found for this signature in database
GPG Key ID: BE4634D632D39B67

View File

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