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

Change threshold for small wiki contributions
This commit is contained in:
Greg Karékinian 2019-08-14 12:51:48 +02:00 committed by GitHub
commit 41c5903cf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;