Use camelCase
This commit is contained in:
parent
b8e0ec9edc
commit
9b79a411e0
16 changed files with 34 additions and 42 deletions
|
|
@ -179,7 +179,7 @@ router.get('/dc/cb', async ctx => {
|
|||
url: 'https://discordapp.com/api/users/@me',
|
||||
headers: {
|
||||
'Authorization': `Bearer ${accessToken}`,
|
||||
'User-Agent': config.user_agent
|
||||
'User-Agent': config.userAgent
|
||||
}
|
||||
}, (err, response, body) => {
|
||||
if (err)
|
||||
|
|
@ -263,7 +263,7 @@ router.get('/dc/cb', async ctx => {
|
|||
url: 'https://discordapp.com/api/users/@me',
|
||||
headers: {
|
||||
'Authorization': `Bearer ${accessToken}`,
|
||||
'User-Agent': config.user_agent
|
||||
'User-Agent': config.userAgent
|
||||
}
|
||||
}, (err, response, body) => {
|
||||
if (err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue