Skip to content

Commit

Permalink
DOP-4451 adding logging
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed May 9, 2024
1 parent f1b6118 commit cc44ac8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/controllers/v1/slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ export const DeployRepo = async (event: any = {}): Promise<any> => {
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') {
Expand Down

0 comments on commit cc44ac8

Please sign in to comment.