feat(notifications): fix gotify style

This commit is contained in:
depado
2025-01-18 14:23:53 +01:00
parent e25d0c0c68
commit 9806a5d607
5 changed files with 23 additions and 23 deletions
@@ -83,12 +83,12 @@ export const sendDockerCleanupNotifications = async (
if (gotify) {
const decorate = (decoration: string, text: string) =>
`${gotify.decoration ? decoration : ""} ${text}`.trim();
`${gotify.decoration ? decoration : ""} ${text}\n`;
await sendGotifyNotification(
gotify,
decorate("✅", "Docker Cleanup"),
`${decorate("🕒", `Date: ${date.toLocaleString()}`)}
${decorate("📜", `Message:\n${message}`)}`,
`${decorate("🕒", `Date: ${date.toLocaleString()}`)}` +
`${decorate("📜", `Message:\n${message}`)}`,
);
}