fix(BaseClient): Fall back to userAgentAppendix (#10113)

fix(BaseClient): fall back to `Options.userAgentAppendix`
This commit is contained in:
Jiralite
2024-02-02 16:32:18 +00:00
committed by GitHub
parent 278396e815
commit b16647e6cc

View File

@@ -44,7 +44,7 @@ class BaseClient extends EventEmitter {
...options.rest,
userAgentAppendix: options.rest?.userAgentAppendix
? `${Options.userAgentAppendix} ${options.rest.userAgentAppendix}`
: undefined,
: Options.userAgentAppendix,
},
};