From 68b2f020989a852fb8267d555db5990cf2343db1 Mon Sep 17 00:00:00 2001 From: hidetak Date: Tue, 18 Jun 2024 19:28:58 +0900 Subject: [PATCH] fix converting boolean value bug of create wot consumer plugin --- node-red-node-wot/plugin-resources-src/node-wot-plugin-lib.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-red-node-wot/plugin-resources-src/node-wot-plugin-lib.ts b/node-red-node-wot/plugin-resources-src/node-wot-plugin-lib.ts index dc3c2ab..0ce0992 100644 --- a/node-red-node-wot/plugin-resources-src/node-wot-plugin-lib.ts +++ b/node-red-node-wot/plugin-resources-src/node-wot-plugin-lib.ts @@ -14,7 +14,7 @@ const DATATYPES = { }, boolean: { inputMode: "text", - typeConvert: "String", + typeConvert: "JSON.parse", }, object: { inputMode: "textarea",