Skip to content

Commit

Permalink
DOP-4451 remove some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed May 9, 2024
1 parent cc44ac8 commit c47bdd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions api/controllers/v1/slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ export const DisplayRepoOptions = async (event: APIGatewayEvent): Promise<APIGat
const isAdmin = await repoEntitlementRepository.getIsAdmin(key_val['user_id']);

const entitledBranches = await buildEntitledGroupsList(entitlement, repoBranchesRepository);
console.log('built branches');
const resp = await slackConnector.displayRepoOptions(entitledBranches, key_val['trigger_id'], isAdmin);
console.log(resp);
if (resp?.status == 200 && resp?.data && resp?.data.ok) {
return {
statusCode: 200,
Expand Down
2 changes: 2 additions & 0 deletions api/handlers/slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ export async function buildEntitledGroupsList(entitlement: any, repoBranchesRepo
),
};
repoOptions.push(repoOption);
} else {
console.log(repo, branches);
}
}
return repoOptions.sort((repoOne, repoTwo) => repoOne.label.text.localeCompare(repoTwo.label.text));
Expand Down

0 comments on commit c47bdd6

Please sign in to comment.