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

Change threshold for small wiki contributions
This commit was merged in pull request #42.
此提交包含在:
Greg Karékinian
2019-08-14 12:51:48 +02:00
提交者 GitHub
當前提交 41c5903cf5

查看文件

@@ -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;