mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-19 21:04:33 +08:00
🐛 Fix webhook deep keys parsing invalid index
This commit is contained in:
parent
55dbb1abc7
commit
df8a406513
@ -29,8 +29,8 @@ export const getDeepKeys = (obj: any): string[] => {
|
||||
)
|
||||
}
|
||||
keys = keys.concat(
|
||||
subkeys.map(function (subkey, idx) {
|
||||
return `${key}[${idx}]${parseKey(subkey)}`
|
||||
subkeys.map(function (subkey) {
|
||||
return `${key}[0]${parseKey(subkey)}`
|
||||
})
|
||||
)
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user