Skip to content

Commit

Permalink
🐛 (webhook) Fix webhook response data key number parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Oct 16, 2023
1 parent d4041c7 commit 1d0aab7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ export const getDeepKeys = (obj: any): string[] => {

const parseKey = (key: string) => {
if (
(key.includes(' ') || key.includes('-')) &&
(key.includes(' ') ||
key.includes('-') ||
!isNaN(key as unknown as number)) &&
!key.includes('.flatMap(item => item') &&
!key.includes("['") &&
!key.includes("']")
Expand Down

1 comment on commit 1d0aab7

@vercel
Copy link

@vercel vercel bot commented on 1d0aab7 Oct 16, 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
builder-v2-git-main-typebot-io.vercel.app
app.typebot.io

Please sign in to comment.