2
0

🐛 Fix webhook deep keys parsing invalid index

This commit is contained in:
Baptiste Arnaud
2023-05-12 12:11:52 -04:00
parent 55dbb1abc7
commit df8a406513

View File

@@ -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 {