diff --git a/projects/aas-server/src/app/aas-provider/aas-provider.ts b/projects/aas-server/src/app/aas-provider/aas-provider.ts index 62b0991..104ff27 100644 --- a/projects/aas-server/src/app/aas-provider/aas-provider.ts +++ b/projects/aas-server/src/app/aas-provider/aas-provider.ts @@ -615,12 +615,7 @@ export class AASProvider { return; } - setTimeout( - this.scanEndpoint, - this.computeTimeout(endpoint.schedule, task.start, task.end), - result.taskId, - endpoint, - ); + setTimeout(this.scanEndpoint, this.computeTimeout(endpoint.schedule, task.start, task.end), task, endpoint); } if (result.messages) {