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) {