2
0

🔊 Add debug log for item matching issue

This commit is contained in:
Baptiste Arnaud
2023-08-08 07:46:16 +02:00
parent 9171727569
commit a72cb5e20d

View File

@@ -268,6 +268,19 @@ const getOutgoingEdgeId =
const matchedItem = block.items.find(
(item) => parseVariables(variables)(item.content) === reply
)
// TEMPORARY LOG
if (block.id === 'n62dzuz2ye73tivnjw7bnxd5') {
console.log(
'Debug Safari bug:',
JSON.stringify({
items: block.items.map((item) =>
parseVariables(variables)(item.content)
),
reply,
})
)
}
if (matchedItem?.outgoingEdgeId) return matchedItem.outgoingEdgeId
}
if (