summaryrefslogtreecommitdiff
path: root/src/server/api/service/github.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-02-24 12:53:22 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-02-24 12:53:22 +0900
commit9b79a411e0d0ecd57c52f0878d2873f925eebc4f (patch)
tree4ffe7b6376f35fc2620459669a407612f8f70ce6 /src/server/api/service/github.ts
parentImprove doc (diff)
downloadsharkey-9b79a411e0d0ecd57c52f0878d2873f925eebc4f.tar.gz
sharkey-9b79a411e0d0ecd57c52f0878d2873f925eebc4f.tar.bz2
sharkey-9b79a411e0d0ecd57c52f0878d2873f925eebc4f.zip
Use camelCase
Diffstat (limited to 'src/server/api/service/github.ts')
-rw-r--r--src/server/api/service/github.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/api/service/github.ts b/src/server/api/service/github.ts
index d6d5d1eccb..cf3589a4b7 100644
--- a/src/server/api/service/github.ts
+++ b/src/server/api/service/github.ts
@@ -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)