Skip to content

Commit

Permalink
made customFunction not needed params
Browse files Browse the repository at this point in the history
It now optional
  • Loading branch information
Leref committed Sep 27, 2023
1 parent 3da030e commit d46c92f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/Functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d46c92f

Please sign in to comment.