mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-07 12:37:45 +00:00
Automated build '' typescript-axios sdk: 4745116974
This commit is contained in:
@@ -132,14 +132,14 @@ export class Configuration {
|
|||||||
retriesConfig?: IAxiosRetryConfig
|
retriesConfig?: IAxiosRetryConfig
|
||||||
|
|
||||||
constructor(param: ConfigurationParameters = {}) {
|
constructor(param: ConfigurationParameters = {}) {
|
||||||
this.plexToken = param.plexToken;
|
this.plexToken = param.plexToken || "";
|
||||||
this.clientIdentifier = param.clientIdentifier || "Plexjs";
|
this.clientIdentifier = param.clientIdentifier || "plexjs";
|
||||||
this.device = param.device;
|
this.device = param.device || "plexjs";
|
||||||
this.deviceName = param.deviceName;
|
this.deviceName = param.deviceName || "plexjs";
|
||||||
this.platform = param.platform || "Plexjs";
|
this.platform = param.platform || "plexjs";
|
||||||
this.platformVersion = param.platformVersion;
|
this.platformVersion = param.platformVersion || "0.0.21";
|
||||||
this.product = param.product;
|
this.product = param.product || "plexjs";
|
||||||
this.version = param.version;
|
this.version = param.version || "0.0.21";
|
||||||
|
|
||||||
this.apiKey = (header: string) => {
|
this.apiKey = (header: string) => {
|
||||||
switch (header) {
|
switch (header) {
|
||||||
|
|||||||
Reference in New Issue
Block a user