fix workflow updating (#5567)

* retain id through workflow state so that we correctly update or save new

* lint

---------

Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
This commit is contained in:
Mary Hipp Rogers 2024-01-24 16:10:19 -05:00 committed by GitHub
parent 86c857b9c2
commit e59954f956
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,6 +24,7 @@ const workflowKeys = [
'notes',
'exposedFields',
'meta',
'id',
] satisfies (keyof WorkflowV2)[];
export type BuildWorkflowFunction = (arg: BuildWorkflowArg) => WorkflowV2;