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) .input(apiTestTelegramConnection)
.mutation(async ({ input }) => { .mutation(async ({ input }) => {
try { try {
await sendTelegramNotification(input, "Hi, From Dokploy 👋"); await sendTelegramNotification(input, "Hi, From Dokploy 👋", []);
return true; return true;
} catch (error) { } catch (error) {
throw new TRPCError({ throw new TRPCError({