From 105ede96f963ebbbd0d7108224be7c2e52be9e52 Mon Sep 17 00:00:00 2001 From: Vikhyath Mondreti Date: Thu, 3 Jul 2025 18:47:02 -0700 Subject: [PATCH] fix --- apps/sim/executor/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/sim/executor/index.ts b/apps/sim/executor/index.ts index a74e70c5da..fc4ad0c035 100644 --- a/apps/sim/executor/index.ts +++ b/apps/sim/executor/index.ts @@ -649,8 +649,8 @@ export class Executor { if (this.workflowInput && typeof this.workflowInput === 'object') { // Check if this is a chat workflow input (has both input and conversationId) if ( - Object.hasOwn(this.workflowInput, 'input') && - Object.hasOwn(this.workflowInput, 'conversationId') + Object.prototype.hasOwnProperty.call(this.workflowInput, 'input') && + Object.prototype.hasOwnProperty.call(this.workflowInput, 'conversationId') ) { // Chat workflow: extract input and conversationId to root level const starterOutput = { @@ -694,8 +694,8 @@ export class Executor { if (this.workflowInput && typeof this.workflowInput === 'object') { // Check if this is a chat workflow input (has both input and conversationId) if ( - Object.hasOwn(this.workflowInput, 'input') && - Object.hasOwn(this.workflowInput, 'conversationId') + Object.prototype.hasOwnProperty.call(this.workflowInput, 'input') && + Object.prototype.hasOwnProperty.call(this.workflowInput, 'conversationId') ) { // Chat workflow: extract input and conversationId to root level starterOutput = {