Add missing variables to GitHub integration
This commit is contained in:
parent
e8da47db70
commit
ed5d127b4c
@ -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 => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user