@xuda.io/xuda-worker-bundle-min 1.3.1159 → 1.3.1160
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -7780,9 +7780,9 @@ func.events.validate = async function (
|
|
|
7780
7780
|
await func.datasource.update(SESSION_ID, datasource_changes);
|
|
7781
7781
|
}
|
|
7782
7782
|
|
|
7783
|
-
add_event();
|
|
7783
|
+
await add_event();
|
|
7784
7784
|
};
|
|
7785
|
-
|
|
7785
|
+
const add_event = async function () {
|
|
7786
7786
|
const _event = func.common.find_item_by_key_root(
|
|
7787
7787
|
_view_obj.progEvents,
|
|
7788
7788
|
"id",
|
|
@@ -7850,7 +7850,7 @@ func.events.validate = async function (
|
|
|
7850
7850
|
}
|
|
7851
7851
|
|
|
7852
7852
|
jobs.push(
|
|
7853
|
-
func.events.add_to_queue(
|
|
7853
|
+
await func.events.add_to_queue(
|
|
7854
7854
|
SESSION_ID,
|
|
7855
7855
|
sourceP + " event",
|
|
7856
7856
|
trigger_obj.id,
|
|
@@ -7887,7 +7887,7 @@ func.events.validate = async function (
|
|
|
7887
7887
|
if (val.data.parameters) {
|
|
7888
7888
|
await set_arguments();
|
|
7889
7889
|
} else {
|
|
7890
|
-
add_event();
|
|
7890
|
+
await add_event();
|
|
7891
7891
|
}
|
|
7892
7892
|
} else {
|
|
7893
7893
|
if (val.data.condition && !expCond.result) {
|