Parcourir la source

fixed: get traces

xf il y a 1 an
Parent
commit
b09eb9fd8c
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      src/Hotline.Api/Controllers/WorkflowController.cs

+ 1 - 2
src/Hotline.Api/Controllers/WorkflowController.cs

@@ -458,8 +458,7 @@ public class WorkflowController : BaseController
             .OrderBy(d => d.CreationTime)
             .ToTreeAsync(d => d.Traces, d => d.ParentId, null);
 
-        var a = _mapper.Map<WorkflowDto>(workflow);
-        return a;
+        return _mapper.Map<WorkflowDto>(workflow);
     }
 
     /// <summary>