Fix tool version mapping

This commit is contained in:
Sipke Schoorstra 2023-08-02 22:52:19 +02:00
parent cd5c7fbb1b
commit 0e7112eade

View file

@ -38,7 +38,7 @@ public class WorkflowDefinitionMapper
return new(
new WorkflowIdentity(source.DefinitionId, source.Version, source.Id),
new WorkflowPublication(source.IsLatest, source.IsPublished),
new WorkflowMetadata(source.Name, source.Description, source.CreatedAt),
new WorkflowMetadata(source.Name, source.Description, source.CreatedAt, source.ToolVersion),
source.Options,
root,
source.Variables,