Skip to content
This repository was archived by the owner on Jan 26, 2026. It is now read-only.

Commit ea7894b

Browse files
committed
fix(back): Delete mail reaction
1 parent e9fff2d commit ea7894b

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

backend/services/google/google.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,6 @@ var oauthConfig = &oauth2.Config{
128128
calendar.CalendarScope,
129129
gmail.GmailReadonlyScope,
130130
gmail.GmailSendScope,
131+
"https://mail.google.com/", //Required for the delete action for some reason it isn't in the enum?
131132
},
132133
}

backend/services/google/handlers.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ func HandlerEmptyTrash(ctx models.Context) error {
6060
}
6161
}
6262

63-
logEngine.NewLogEntry(ctx.WorkflowID, models.InfoLog, "Gmail trash emptied successfully.")
6463
return nil
6564
}
6665

0 commit comments

Comments
 (0)