Use camelCase

This commit is contained in:
syuilo
2019-02-24 12:53:22 +09:00
parent b8e0ec9edc
commit 9b79a411e0
16 changed files with 34 additions and 42 deletions

View File

@ -171,7 +171,7 @@ router.get('/gh/cb', async ctx => {
headers: {
'Accept': 'application/vnd.github.v3+json',
'Authorization': `bearer ${accessToken}`,
'User-Agent': config.user_agent
'User-Agent': config.userAgent
}
}, (err, response, body) => {
if (err)
@ -234,7 +234,7 @@ router.get('/gh/cb', async ctx => {
headers: {
'Accept': 'application/vnd.github.v3+json',
'Authorization': `bearer ${accessToken}`,
'User-Agent': config.user_agent
'User-Agent': config.userAgent
}
}, (err, response, body) => {
if (err)