fix: send decoration prop to notification tester

This commit is contained in:
João Gabriel
2024-12-22 01:06:47 -03:00
parent 870e074825
commit 21b2cce7a0
2 changed files with 2 additions and 0 deletions

View File

@@ -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({

View File

@@ -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({