Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit 5abe722

Browse files
DOP-4481 hotfix (#1032)
* DOP-4481-hotfix adding extra check * DOP-4481-hotfix push to preprd * DOP-4481-hotfix fix conditional * DOP-4481-hotfix fix conditional * DOP-4481-hotfix fix conditional * DOP-4481-hotfix cleaning
1 parent f104403 commit 5abe722

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/services/slack.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,10 @@ export class SlackConnector implements ISlackConnector {
6363
const inputMapping = {
6464
block_repo_option: 'repo_option',
6565
block_hash_option: 'hash_option',
66-
block_deploy_option: 'deploy_option',
6766
};
6867

6968
// if deploy all was selected:
70-
if (stateValues['block_deploy_option']['deploy_option']?.selected_option?.value == 'deploy_all') {
69+
if (stateValues['block_deploy_option']?.deploy_option?.selected_option?.value == 'deploy_all') {
7170
if (!isAdmin) {
7271
throw new Error('User is not an admin and therefore not entitled to deploy all repos');
7372
}

0 commit comments

Comments
 (0)