fix: shuffle-shared bump issues code removal and stuff

This commit is contained in:
yashsinghcodes
2026-03-11 13:34:00 +05:30
parent 25920b36b6
commit c5015c7994
4 changed files with 22 additions and 20 deletions
+8 -8
View File
@@ -813,15 +813,15 @@ func deleteWorkflow(resp http.ResponseWriter, request *http.Request) {
// log.Printf("Failed to delete webhook: %s", err)
//}
} else if item.TriggerType == "EMAIL" {
err = shuffle.HandleOutlookSubRemoval(ctx, user, workflow.ID, item.ID)
if err != nil {
log.Printf("[DEBUG] Failed to delete OUTLOOK email sub (checking gmail after): %s", err)
}
// err = shuffle.HandleOutlookSubRemoval(ctx, user, workflow.ID, item.ID)
// if err != nil {
// log.Printf("[DEBUG] Failed to delete OUTLOOK email sub (checking gmail after): %s", err)
// }
err = shuffle.HandleGmailSubRemoval(ctx, user, workflow.ID, item.ID)
if err != nil {
log.Printf("Failed to delete gmail email sub: %s", err)
}
// err = shuffle.HandleGmailSubRemoval(ctx, user, workflow.ID, item.ID)
// if err != nil {
// log.Printf("Failed to delete gmail email sub: %s", err)
// }
}
}