fix(04): fix Check Logs Match Count type validation

Changed typeValidation from 'strict' to 'loose' and rightValue from
strings to numbers to fix type mismatch error in Switch node conditions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Lucas Berger
2026-01-30 22:13:56 -05:00
parent f423f4ae4c
commit ada8800bff
+8 -12
View File
@@ -1850,14 +1850,13 @@
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict"
"typeValidation": "loose"
},
"conditions": [
{
"id": "count-negative",
"leftValue": "={{ $json.matchCount }}",
"rightValue": "0",
"rightValue": 0,
"operator": {
"type": "number",
"operation": "lt"
@@ -1873,14 +1872,13 @@
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict"
"typeValidation": "loose"
},
"conditions": [
{
"id": "count-zero",
"leftValue": "={{ $json.matchCount }}",
"rightValue": "0",
"rightValue": 0,
"operator": {
"type": "number",
"operation": "equals"
@@ -1896,14 +1894,13 @@
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict"
"typeValidation": "loose"
},
"conditions": [
{
"id": "count-one",
"leftValue": "={{ $json.matchCount }}",
"rightValue": "1",
"rightValue": 1,
"operator": {
"type": "number",
"operation": "equals"
@@ -1919,14 +1916,13 @@
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict"
"typeValidation": "loose"
},
"conditions": [
{
"id": "count-many",
"leftValue": "={{ $json.matchCount }}",
"rightValue": "1",
"rightValue": 1,
"operator": {
"type": "number",
"operation": "gt"