Skip to content

Commit

Permalink
tested a different way of configuring send mail
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Nov 23, 2023
1 parent c416adf commit daf1fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/backend/cron/feedback_email.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (c *CronService) feedbackEmailCron() error {
log.Tracef("sending feedback %d to %v successfull", i, feedback.Recipient)

// prevent the message being send the next time around
if err := c.db.Find(model.Feedback{}, "id = ?", feedback.Id).Update("processed", "true").Error; err != nil {
if err := c.db.Find(model.Feedback{}, "id = ?", feedback.Id).Update("processed", true).Error; err != nil {
log.WithError(err).Error("could not prevent mail from being send again")
}
}
Expand Down

0 comments on commit daf1fb5

Please sign in to comment.