Skip to content

Commit

Permalink
DOP-4599 logging
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed May 10, 2024
1 parent ea820e1 commit 9af98cb
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 @@ -225,7 +225,8 @@ export const DeployRepo = async (event: any = {}): Promise<any> => {

let values = [];
const isAdmin = await repoEntitlementRepository.getIsAdmin(parsed.user.id);
const optionGroups = parsed.view.blocks.element.option_groups;
const optionGroups = parsed.view.blocks[0]?.element?.option_groups;
console.log('option groups' + parsed.view.blocks[0]?.element?.option_groups);
try {
values = await slackConnector.parseSelection(stateValues, isAdmin, repoBranchesRepository, optionGroups);
} catch (e) {
Expand Down

0 comments on commit 9af98cb

Please sign in to comment.