mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix: send decoration prop to notification tester
This commit is contained in:
@@ -734,6 +734,7 @@ export const AddNotification = () => {
|
|||||||
} else if (type === "discord") {
|
} else if (type === "discord") {
|
||||||
await testDiscordConnection({
|
await testDiscordConnection({
|
||||||
webhookUrl: form.getValues("webhookUrl"),
|
webhookUrl: form.getValues("webhookUrl"),
|
||||||
|
decoration: form.getValues("decoration"),
|
||||||
});
|
});
|
||||||
} else if (type === "email") {
|
} else if (type === "email") {
|
||||||
await testEmailConnection({
|
await testEmailConnection({
|
||||||
|
|||||||
@@ -692,6 +692,7 @@ export const UpdateNotification = ({ notificationId }: Props) => {
|
|||||||
} else if (type === "discord") {
|
} else if (type === "discord") {
|
||||||
await testDiscordConnection({
|
await testDiscordConnection({
|
||||||
webhookUrl: form.getValues("webhookUrl"),
|
webhookUrl: form.getValues("webhookUrl"),
|
||||||
|
decoration: form.getValues("decoration"),
|
||||||
});
|
});
|
||||||
} else if (type === "email") {
|
} else if (type === "email") {
|
||||||
await testEmailConnection({
|
await testEmailConnection({
|
||||||
|
|||||||
Reference in New Issue
Block a user