Skip to content

Commit

Permalink
fix: accidentally copied values I shouldn't have
Browse files Browse the repository at this point in the history
  • Loading branch information
viveknair committed Apr 4, 2023
1 parent 4a81260 commit 853d2d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/node/configuration.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
const packageJson = require("../package.json");

export interface ConfigurationParameters {
clientToken?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
username?: string;
password?: string;
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
Expand All @@ -17,11 +17,11 @@ export interface ConfigurationParameters {

export class Configuration {
/**
* parameter for clientToken security
* parameter for apiKey security
* @param name security name
* @memberof Configuration
*/
clientToken?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
/**
* parameter for basic security
*
Expand Down Expand Up @@ -67,7 +67,7 @@ export class Configuration {
formDataCtor?: new () => any;

constructor(param: ConfigurationParameters = {}) {
this.clientToken = param.clientToken;
this.apiKey = param.apiKey;
this.username = param.username;
this.password = param.password;
this.accessToken = param.accessToken;
Expand Down

0 comments on commit 853d2d4

Please sign in to comment.