From 70d2b90598fbb3176199a9175650a0a47ba60b98 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sat, 2 Jan 2021 20:16:37 +0000 Subject: [PATCH] --- source/Plugins/AyaNova.Plugin.V8/V8.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/Plugins/AyaNova.Plugin.V8/V8.cs b/source/Plugins/AyaNova.Plugin.V8/V8.cs index 087f1d2..81523ff 100644 --- a/source/Plugins/AyaNova.Plugin.V8/V8.cs +++ b/source/Plugins/AyaNova.Plugin.V8/V8.cs @@ -1700,7 +1700,9 @@ namespace AyaNova.PlugIn.V8 Unit c = Unit.GetItem(i.ID); if (c.ParentID == Guid.Empty && c.ReplacedByUnitID == Guid.Empty) continue; var ObjectTID = new TypeAndID(RootObjectTypes.Unit, c.ID); - dynamic d = util.GetAsync("unit/" + Getv7v8IdMap(c.ID, "Unit for parent / replaced by unit step 2 unit import").ToString()); + var a = await util.GetAsync("unit/" + Getv7v8IdMap(c.ID, "Unit for parent / replaced by unit step 2 unit import").ToString()); + dynamic d = a.ObjectResponse["data"]; + progress.Op(ObjectTypeName + " " + d.serial); d.replacedByUnitId = Getv7v8IdMapNullOk(c.ReplacedByUnitID); d.parentUnitId = Getv7v8IdMapNullOk(c.ParentID);