2
0

🚸 (webhook) Improve deep keys parser

Support for field names with dashes
This commit is contained in:
Baptiste Arnaud
2023-08-07 15:57:56 +02:00
parent 1ae3029843
commit 9171727569

View File

@ -42,7 +42,7 @@ export const getDeepKeys = (obj: any): string[] => {
const parseKey = (key: string) => {
if (
key.includes(' ') &&
(key.includes(' ') || key.includes('-')) &&
!key.includes('.flatMap(item => item') &&
!key.includes("['") &&
!key.includes("']")