From fc75717d32231c70a65809246c26e70c96e8e76b Mon Sep 17 00:00:00 2001 From: Allan Carr Date: Mon, 21 Oct 2024 12:43:20 -0700 Subject: [PATCH] IO-2921 CHATTER correct secertmanager call from undefined variable to string Signed-off-by: Allan Carr --- server/data/chatter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/data/chatter.js b/server/data/chatter.js index 85dbe4a9b..24173a872 100644 --- a/server/data/chatter.js +++ b/server/data/chatter.js @@ -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 {