Updated output config get

This commit is contained in:
Sambo Chea 2022-06-26 14:50:33 +07:00
parent cf4b150140
commit dcadf29e7f
Signed by: sombochea
GPG Key ID: 3C7CF22A05D95490

View File

@ -458,15 +458,15 @@ program
}
if (type === "token" || type === "jwt") {
console.log(`token: ${config.token}`);
console.log(config.token);
} else if (type === "server") {
console.log(`server: ${config.server}`);
console.log(config.server);
} else if (type === "clientId" || type === "client") {
console.log(`client: ${config.clientId}`);
console.log(config.clientId);
} else if (type === "apiKey" || type === "key") {
console.log(`key: ${config.apiKey}`);
console.log(config.apiKey);
} else if (type === "access") {
console.log(`access: ${config.access}`);
console.log(config.access);
} else {
console.log('no config found for type: "' + type + '"');
}