Update notification.ts (#6)

fix router notification
This commit is contained in:
shiqocred
2025-01-12 02:14:09 +07:00
committed by GitHub
parent c0b8a411bd
commit d2094d6d76

View File

@@ -134,7 +134,7 @@ export const notificationRouter = createTRPCRouter({
.input(apiTestTelegramConnection)
.mutation(async ({ input }) => {
try {
await sendTelegramNotification(input, "Hi, From Dokploy 👋");
await sendTelegramNotification(input, "Hi, From Dokploy 👋", []);
return true;
} catch (error) {
throw new TRPCError({