style: improved discord webhooks notifications

This commit is contained in:
190km
2024-12-01 04:09:19 +01:00
parent 63998f71ec
commit a235815a13
6 changed files with 51 additions and 49 deletions

View File

@@ -188,8 +188,9 @@ export const notificationRouter = createTRPCRouter({
.mutation(async ({ input }) => {
try {
await sendDiscordNotification(input, {
title: "Test Notification",
description: "Hi, From Dokploy 👋",
title: "> `🤚` - Test Notification",
description: "> Hi, From Dokploy 👋",
color: 0xf3f7f4
});
return true;
} catch (error) {