1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-03-24 12:30:07 +00:00

Fixed: API key expiring emails not working

This commit is contained in:
ItalyPaleAle
2026-03-04 19:37:33 -08:00
parent 27ca713cd4
commit 33263de1a8
6 changed files with 23 additions and 20 deletions

View File

@@ -150,7 +150,8 @@ func SendEmail[V any](ctx context.Context, srv *EmailService, toEmail email.Addr
}
// Send the email
if err := srv.sendEmailContent(client, toEmail, c); err != nil {
err = srv.sendEmailContent(client, toEmail, c)
if err != nil {
return fmt.Errorf("send email content: %w", err)
}