Skip to content

Commit 433e2f9

Browse files
Vikhyath MondretiVikhyath Mondreti
authored andcommitted
fix lint
1 parent 105ede9 commit 433e2f9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/sim/executor/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -649,8 +649,8 @@ export class Executor {
649649
if (this.workflowInput && typeof this.workflowInput === 'object') {
650650
// Check if this is a chat workflow input (has both input and conversationId)
651651
if (
652-
Object.prototype.hasOwnProperty.call(this.workflowInput, 'input') &&
653-
Object.prototype.hasOwnProperty.call(this.workflowInput, 'conversationId')
652+
Object.hasOwn(this.workflowInput, 'input') &&
653+
Object.hasOwn(this.workflowInput, 'conversationId')
654654
) {
655655
// Chat workflow: extract input and conversationId to root level
656656
const starterOutput = {
@@ -694,8 +694,8 @@ export class Executor {
694694
if (this.workflowInput && typeof this.workflowInput === 'object') {
695695
// Check if this is a chat workflow input (has both input and conversationId)
696696
if (
697-
Object.prototype.hasOwnProperty.call(this.workflowInput, 'input') &&
698-
Object.prototype.hasOwnProperty.call(this.workflowInput, 'conversationId')
697+
Object.hasOwn(this.workflowInput, 'input') &&
698+
Object.hasOwn(this.workflowInput, 'conversationId')
699699
) {
700700
// Chat workflow: extract input and conversationId to root level
701701
starterOutput = {

0 commit comments

Comments
 (0)