etapi ZIP import

This commit is contained in:
zadam
2023-06-15 23:21:40 +02:00
parent 74400dad97
commit 3223e76787
4 changed files with 57 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ const ws = require('./ws');
const taskContexts = {};
class TaskContext {
constructor(taskId, taskType = null, data = null) {
constructor(taskId, taskType = null, data = {}) {
this.taskId = taskId;
this.taskType = taskType;
this.data = data;