diff --git a/models/resources/workflow.go b/models/resources/workflow.go index f19345f..1f1c026 100644 --- a/models/resources/workflow.go +++ b/models/resources/workflow.go @@ -25,6 +25,10 @@ type WorkflowResource struct { abstractWorkflowResource } +func (r *WorkflowResource) Transform() utils.DBObject { + return r +} + func (r *WorkflowResource) StoreDraftDefault() { r.IsDraft = true }