mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
fix field typing
This commit is contained in:
@@ -40,8 +40,7 @@ export function setupOperationsHandlers(
|
||||
|
||||
try {
|
||||
const validatedOperation = WorkflowOperationSchema.parse(data)
|
||||
const extractedData = validatedOperation as any
|
||||
operationId = extractedData.operationId
|
||||
operationId = validatedOperation.operationId
|
||||
const { operation, target, payload, timestamp } = validatedOperation
|
||||
|
||||
// Check operation permissions
|
||||
|
||||
Reference in New Issue
Block a user