From d46c92f57c8904940c7f86b2e31a160c86c73eb3 Mon Sep 17 00:00:00 2001 From: Leref <12578483+Leref@users.noreply.github.com> Date: Wed, 27 Sep 2023 12:50:34 -0400 Subject: [PATCH] made customFunction not needed params It now optional --- src/classes/Functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/Functions.js b/src/classes/Functions.js index 15c70d15e..b4ae491fb 100644 --- a/src/classes/Functions.js +++ b/src/classes/Functions.js @@ -22,7 +22,7 @@ class CustomFunction { this.name = d.name; this.code = d.code; this.type = d.type; - this.params = d.params; + this.params = d.params || []; this.functions = this.type === "aoi.js" ? this.serializeFunctions() : undefined; }