mirror of
https://github.com/status-im/autobounty.git
synced 2025-02-18 08:26:26 +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 = {
|
||||
hostname: 'api.github.com',
|
||||
path: path,
|
||||
headers: { 'User-Agent': 'kafkasl' }
|
||||
headers: { 'User-Agent': config.githubUsername }
|
||||
};
|
||||
return new Promise((resolve, reject) => {
|
||||
const request = https.get(options, (response) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user