mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-13 21:02:56 +08:00
🐛 (webhook) Fix webhook response data key number parsing
This commit is contained in:
parent
d4041c75a3
commit
1d0aab71f9
@ -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("']")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user