From 1223d577bb6a934c8450fb7b04ab693c92f8b368 Mon Sep 17 00:00:00 2001 From: anabellabuckvar <41971124+anabellabuckvar@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:41:25 -0400 Subject: [PATCH] DOP-4549 added logs, return even later --- api/controllers/v1/slack.ts | 2 +- src/services/slack.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api/controllers/v1/slack.ts b/api/controllers/v1/slack.ts index f7bc53fe1..2d089d606 100644 --- a/api/controllers/v1/slack.ts +++ b/api/controllers/v1/slack.ts @@ -215,7 +215,7 @@ export const DeployRepo = async (event: any = {}): Promise => { let values = []; const isAdmin = await repoEntitlementRepository.getIsAdmin(parsed.user.id); - + console.log(isAdmin); return { statusCode: 200, headers: { 'Content-Type': 'application/json' }, diff --git a/src/services/slack.ts b/src/services/slack.ts index 0d75bdfa4..89aa986b3 100644 --- a/src/services/slack.ts +++ b/src/services/slack.ts @@ -65,6 +65,7 @@ export class SlackConnector implements ISlackConnector { block_hash_option: 'hash_option', }; + console.log('parsing'); // if deploy all was selected: if (stateValues['block_deploy_option']?.deploy_option?.selected_option?.value == 'deploy_all') { if (!isAdmin) {