From fb1a471303aac740b903c3620f414b6389073819 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Thu, 14 May 2020 10:33:13 +0200 Subject: [PATCH] Make kredits amount for zoom calls configurable defaults to 500 - a general small contribution --- integrations/zoom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/zoom.js b/integrations/zoom.js index 689ef11..dfddf59 100644 --- a/integrations/zoom.js +++ b/integrations/zoom.js @@ -8,7 +8,7 @@ module.exports = async function(robot, kredits) { const { Contributor, Contribution } = kredits; - const kreditsContributionAmount = 500; + const kreditsContributionAmount = process.env.KREDITS_ZOOM_CONTRIBUTION_AMOUNT || 500; const kreditsContributionKind = 'community'; const zoomAccessToken = process.env.KREDITS_ZOOM_JWT;