From cc44ac80970e6a3797e7ac0d2a2386b1abc5e98f Mon Sep 17 00:00:00 2001 From: anabellabuckvar <41971124+anabellabuckvar@users.noreply.github.com> Date: Thu, 9 May 2024 12:39:40 -0400 Subject: [PATCH] DOP-4451 adding logging --- api/controllers/v1/slack.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/controllers/v1/slack.ts b/api/controllers/v1/slack.ts index c4591c002..93d05b3f4 100644 --- a/api/controllers/v1/slack.ts +++ b/api/controllers/v1/slack.ts @@ -203,7 +203,8 @@ export const DeployRepo = async (event: any = {}): Promise => { const decoded = decodeURIComponent(event.body).split('=')[1]; const parsed = JSON.parse(decoded); const stateValues = parsed.view.state.values; - console.log(JSON.stringify(stateValues)); + console.info('testing', 'logging here'); + console.log(JSON.stringify(parsed.view)); //TODO: create an interface for slack view_submission payloads if (parsed.type !== 'view_submission') {