Skip to content

Commit

Permalink
DOP-4549 added logs, return even later
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed Apr 30, 2024
1 parent 35cf5b2 commit 1223d57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/controllers/v1/slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export const DeployRepo = async (event: any = {}): Promise<any> => {

let values = [];
const isAdmin = await repoEntitlementRepository.getIsAdmin(parsed.user.id);

console.log(isAdmin);
return {
statusCode: 200,
headers: { 'Content-Type': 'application/json' },
Expand Down
1 change: 1 addition & 0 deletions src/services/slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1223d57

Please sign in to comment.