From 36ce30c714e9ae3aacf0c2c194303c83d34de4a8 Mon Sep 17 00:00:00 2001 From: Jordi Montes Date: Mon, 22 Jan 2018 23:43:58 +0100 Subject: [PATCH] getLabel function renamed to getLabels --- bot/github.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/bot/github.js b/bot/github.js index 07b17b4..59b5a6a 100644 --- a/bot/github.js +++ b/bot/github.js @@ -11,12 +11,8 @@ const getLabelsURL = function(req) { return url.replace('{/name}', ''); } -<<<<<<< HEAD -const getLabel = function(req) { -======= // Returns all labelNames of a given issue (Github API v3) const getLabels = function(req) { ->>>>>>> 06d132a007e0008829bbf7e496836eec065c84bf let url = getLabelsURL(req); const options = { hostname: 'api.github.com', @@ -51,5 +47,5 @@ const getLabels = function(req) { } module.exports = { - getLabel: getLabel + getLabels: getLabels }