Merge pull request #42 from 67P/chore/mediawiki_small_threshold
Change threshold for small wiki contributions
This commit is contained in:
commit
41c5903cf5
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user