Skip to content

Commit

Permalink
🔨 fix undefined userAgent header (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
idinium96 committed May 4, 2022
1 parent 2271be4 commit 2efae81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/Options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2233,7 +2233,7 @@ export function loadOptions(options?: Options): Options {
bptfAccessToken: getOption('bptfAccessToken', '', String, incomingOptions),
bptfAPIKey: getOption('bptfAPIKey', '', String, incomingOptions),

useragentHeaderCustom: getOption('userAgentHeaderCustom', '', String, incomingOptions),
useragentHeaderCustom: getOption('useragentHeaderCustom', '', String, incomingOptions),

admins: getOption('admins', [], jsonParseArray, incomingOptions),
keep: getOption('keep', [], jsonParseArray, incomingOptions),
Expand Down

0 comments on commit 2efae81

Please sign in to comment.