Add missing variables to GitHub integration
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
module.exports = async function(robot, kredits) {
|
module.exports = async function(robot, kredits) {
|
||||||
|
|
||||||
|
const Contributor = kredits.Contributor;
|
||||||
|
const Operator = kredits.Operator;
|
||||||
|
|
||||||
function getContributorByGithubUser(username) {
|
function getContributorByGithubUser(username) {
|
||||||
return Contributor.all().then(contributors => {
|
return Contributor.all().then(contributors => {
|
||||||
let contrib = contributors.find(c => {
|
let contrib = contributors.find(c => {
|
||||||
|
|||||||
Reference in New Issue
Block a user