Use camelCase
This commit is contained in:
parent
b8e0ec9edc
commit
9b79a411e0
16 changed files with 34 additions and 42 deletions
|
|
@ -45,7 +45,7 @@ export default (user: ILocalUser, url: string, object: any) => new Promise(async
|
|||
timeout,
|
||||
headers: {
|
||||
'Host': host,
|
||||
'User-Agent': config.user_agent,
|
||||
'User-Agent': config.userAgent,
|
||||
'Content-Type': 'application/activity+json',
|
||||
'Digest': `SHA-256=${hash}`
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ export default class Resolver {
|
|||
proxy: config.proxy,
|
||||
timeout: this.timeout,
|
||||
headers: {
|
||||
'User-Agent': config.user_agent,
|
||||
'User-Agent': config.userAgent,
|
||||
Accept: 'application/activity+json, application/ld+json'
|
||||
},
|
||||
json: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue