From 6df71bde1d5eaf2f7dbe8a2df80b35de555772fa Mon Sep 17 00:00:00 2001 From: pb Date: Wed, 7 Aug 2024 15:16:12 +0200 Subject: [PATCH] fix ToWorkflowExecution --- entrypoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.go b/entrypoint.go index 977e6bd..8ea9488 100644 --- a/entrypoint.go +++ b/entrypoint.go @@ -195,7 +195,7 @@ func (l *LibData) ToWorkspace() *workspace.Workspace { return nil } func (l *LibData) ToWorkflowExecution() *workflow_execution.WorkflowExecution { - if l.Data.GetAccessor().GetType() == utils.WORKSPACE.String() { + if l.Data.GetAccessor().GetType() == utils.WORKFLOW_EXECUTION.String() { return l.Data.(*workflow_execution.WorkflowExecution) } return nil