mirror of
https://github.com/status-im/autobounty.git
synced 2025-02-20 17:28:07 +00:00
config.githubUsername was hardcoded
This commit is contained in:
parent
73730df429
commit
6306500fa6
@ -25,7 +25,7 @@ const getLabels = function (req) {
|
|||||||
const options = {
|
const options = {
|
||||||
hostname: 'api.github.com',
|
hostname: 'api.github.com',
|
||||||
path: path,
|
path: path,
|
||||||
headers: { 'User-Agent': 'kafkasl' }
|
headers: { 'User-Agent': config.githubUsername }
|
||||||
};
|
};
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const request = https.get(options, (response) => {
|
const request = https.get(options, (response) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user