From b7c949e947390e563e7dd706220390c4d85225a3 Mon Sep 17 00:00:00 2001 From: Marc Scholten Date: Sun, 30 Jan 2022 12:20:29 +0100 Subject: [PATCH] Fixed null not encoded correctly in jsValueToDynamicValue --- lib/IHP/DataSync/ihp-querybuilder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/IHP/DataSync/ihp-querybuilder.js b/lib/IHP/DataSync/ihp-querybuilder.js index 8bac4415b..99b5fb657 100644 --- a/lib/IHP/DataSync/ihp-querybuilder.js +++ b/lib/IHP/DataSync/ihp-querybuilder.js @@ -102,7 +102,7 @@ function jsValueToDynamicValue(value) { } else if (typeof value === "boolean") { return { tag: 'BoolValue', contents: value }; } else if (value === null || value === undefined) { - return { tag: 'NullValue' }; + return { tag: 'Null' }; } throw new Error('Could no transform JS value to DynamicValue. Supported types: string, number, boolean, null, undefined');