mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-24 12:48:47 +00:00
refactor: remove comments
This commit is contained in:
@@ -148,12 +148,6 @@ export const notificationRouter = createTRPCRouter({
|
|||||||
.input(apiCreateDiscord)
|
.input(apiCreateDiscord)
|
||||||
.mutation(async ({ input, ctx }) => {
|
.mutation(async ({ input, ctx }) => {
|
||||||
try {
|
try {
|
||||||
// go to your discord server
|
|
||||||
// go to settings
|
|
||||||
// go to integrations
|
|
||||||
// add a new integration
|
|
||||||
// select webhook
|
|
||||||
// copy the webhook url
|
|
||||||
return await createDiscordNotification(input, ctx.user.adminId);
|
return await createDiscordNotification(input, ctx.user.adminId);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
throw new TRPCError({
|
throw new TRPCError({
|
||||||
|
|||||||
Reference in New Issue
Block a user