This commit is contained in:
Alexander Wang 2024-04-15 17:46:45 -07:00
parent 660a558f8e
commit 6e0907c5aa
No known key found for this signature in database
GPG key ID: BE3937D0D52D8927

View file

@ -150,9 +150,11 @@ func routeEdges(ctx context.Context, p RoutingPlugin, ms *xmain.State) error {
return err
}
in := routeEdgesInput{}
var in routeEdgesInput
err = json.Unmarshal(inRaw, &in)
if err != nil {
return err
}
var g d2graph.Graph
if err := d2graph.DeserializeGraph(in.g, &g); err != nil {