From ed5d127b4c229d05fc6dfa19dfcff09ea6f3090d Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Thu, 19 Apr 2018 12:18:12 +0200 Subject: [PATCH] Add missing variables to GitHub integration --- integrations/github.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/integrations/github.js b/integrations/github.js index 79c9d15..102437e 100644 --- a/integrations/github.js +++ b/integrations/github.js @@ -1,5 +1,8 @@ module.exports = async function(robot, kredits) { + const Contributor = kredits.Contributor; + const Operator = kredits.Operator; + function getContributorByGithubUser(username) { return Contributor.all().then(contributors => { let contrib = contributors.find(c => {