2
0

🐛 (webhook) Fix webhook response data key number parsing

This commit is contained in:
Baptiste Arnaud
2023-10-16 14:33:13 +02:00
parent d4041c75a3
commit 1d0aab71f9

View File

@@ -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("']")