IO-2921 CHATTER correct secertmanager call from undefined variable to string

Signed-off-by: Allan Carr <allan.carr@thinkimex.com>
This commit is contained in:
Allan Carr
2024-10-21 12:43:20 -07:00
parent 1459c6e993
commit fc75717d32

View File

@@ -154,7 +154,7 @@ exports.default = async (req, res) => {
async function getPrivateKey() {
// Connect to AWS Secrets Manager
const client = new SecretsManagerClient({ region: "ca-central-1" });
const command = new GetSecretValueCommand({ SecretId: CHATTER_PRIVATE_KEY });
const command = new GetSecretValueCommand({ SecretId: "CHATTER_PRIVATE_KEY" });
logger.log("chatter-get-private-key", "DEBUG", "api", null, null);
try {