Skip to content

Commit 4d3dee7

Browse files
Vikhyath MondretiVikhyath Mondreti
authored andcommitted
fix field typing
1 parent 7860894 commit 4d3dee7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/sim/socket-server/handlers/operations.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ export function setupOperationsHandlers(
4040

4141
try {
4242
const validatedOperation = WorkflowOperationSchema.parse(data)
43-
const extractedData = validatedOperation as any
44-
operationId = extractedData.operationId
43+
operationId = validatedOperation.operationId
4544
const { operation, target, payload, timestamp } = validatedOperation
4645

4746
// Check operation permissions

0 commit comments

Comments
 (0)