From 21b2cce7a0cdafb38f245465bf103fb8898f6e14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Gabriel?= Date: Sun, 22 Dec 2024 01:06:47 -0300 Subject: [PATCH] fix: send decoration prop to notification tester --- .../dashboard/settings/notifications/add-notification.tsx | 1 + .../dashboard/settings/notifications/update-notification.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/dokploy/components/dashboard/settings/notifications/add-notification.tsx b/apps/dokploy/components/dashboard/settings/notifications/add-notification.tsx index a8a8470d..639ea6ea 100644 --- a/apps/dokploy/components/dashboard/settings/notifications/add-notification.tsx +++ b/apps/dokploy/components/dashboard/settings/notifications/add-notification.tsx @@ -734,6 +734,7 @@ export const AddNotification = () => { } else if (type === "discord") { await testDiscordConnection({ webhookUrl: form.getValues("webhookUrl"), + decoration: form.getValues("decoration"), }); } else if (type === "email") { await testEmailConnection({ diff --git a/apps/dokploy/components/dashboard/settings/notifications/update-notification.tsx b/apps/dokploy/components/dashboard/settings/notifications/update-notification.tsx index 533096fd..f9c75cd9 100644 --- a/apps/dokploy/components/dashboard/settings/notifications/update-notification.tsx +++ b/apps/dokploy/components/dashboard/settings/notifications/update-notification.tsx @@ -692,6 +692,7 @@ export const UpdateNotification = ({ notificationId }: Props) => { } else if (type === "discord") { await testDiscordConnection({ webhookUrl: form.getValues("webhookUrl"), + decoration: form.getValues("decoration"), }); } else if (type === "email") { await testEmailConnection({