fix: remove logs

This commit is contained in:
Daniel Hougaard
2025-04-25 04:37:22 +04:00
parent b5d229a7c5
commit 0de15bf70c
7 changed files with 1 additions and 19 deletions
@@ -225,7 +225,6 @@ export const accessApprovalRequestServiceFactory = ({
const requesterFullName = `${requestedByUser.firstName} ${requestedByUser.lastName}`;
const approvalUrl = `${cfg.SITE_URL}/secret-manager/${project.id}/approval`;
console.log("triggering workflow integration notification");
await triggerWorkflowIntegrationNotification({
input: {
notification: {
@@ -49,15 +49,11 @@ export const triggerWorkflowIntegrationNotification = async (dto: TTriggerWorkfl
}
}
console.log("microsoftTeamsConfig", microsoftTeamsConfig);
if (microsoftTeamsConfig) {
if (notification.type === TriggerFeature.ACCESS_REQUEST) {
if (microsoftTeamsConfig.isAccessRequestNotificationEnabled && microsoftTeamsConfig.accessRequestChannels) {
const { success, data } = MicrosoftTeamsChannelsSchema.safeParse(microsoftTeamsConfig.accessRequestChannels);
console.log("success", success);
console.log("data", data);
if (success && data) {
await microsoftTeamsService
.sendNotification({
@@ -303,9 +303,7 @@ export class TeamsBot extends TeamsActivityHandler {
}
async run(context: TurnContext) {
console.log("Running Microsoft Teams bot", {
context
});
logger.info(context, "Processing Microsoft Teams context");
await super.run(context);
}