mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user