Skip to content

Commit

Permalink
Update publishTypebot.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno authored Dec 8, 2023
1 parent 4fdc1bf commit 248cee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/builder/src/features/typebot/api/publishTypebot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const publishTypebot = authenticatedProcedure
}),
})

if (riskLevel > 0) {
if (riskLevel > 0 && riskLevel !== existingTypebot.riskLevel) {
if (env.MESSAGE_WEBHOOK_URL)
await fetch(env.MESSAGE_WEBHOOK_URL, {
method: 'POST',
Expand Down

1 comment on commit 248cee8

@vercel
Copy link

@vercel vercel bot commented on 248cee8 Dec 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder-v2 – ./apps/builder

builder-v2-typebot-io.vercel.app
app.typebot.io
builder-v2-git-main-typebot-io.vercel.app

Please sign in to comment.