From dc28b12c270f981e588019e490dafad0c67a4e89 Mon Sep 17 00:00:00 2001 From: Olivier Date: Sun, 14 Jun 2026 20:44:11 +0200 Subject: [PATCH] Fix --- backend/src/utils/mailer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/utils/mailer.js b/backend/src/utils/mailer.js index 3443bde..6e0a5bc 100644 --- a/backend/src/utils/mailer.js +++ b/backend/src/utils/mailer.js @@ -35,7 +35,7 @@ function getAppIconUrl(appUrl) { if (!appUrl) return null; try { const icon = db.prepare( - `SELECT filename FROM app_icons ORDER BY updated_at DESC LIMIT 1` + `SELECT filename FROM app_icons WHERE name = 'logo-app' LIMIT 1` ).get(); return icon ? `${appUrl.replace(/\/$/, '')}/api/icons-files/${icon.filename}` : null; } catch {