diff --git a/source/Plugins/AyaNova.Plugin.V8/V8.cs b/source/Plugins/AyaNova.Plugin.V8/V8.cs index 8120e89..cbbd648 100644 --- a/source/Plugins/AyaNova.Plugin.V8/V8.cs +++ b/source/Plugins/AyaNova.Plugin.V8/V8.cs @@ -2492,8 +2492,8 @@ namespace AyaNova.PlugIn.V8 d.active = false;//assume it's no longer active d.name = d.name + " (v8 migrate required)"; d.notes = d.notes + "\nThis record created automatically by v8 migrate because a migrated record is using this as a Service rate but it was changed in v7 to a Travel rate"; - d.remove("id"); - d.remove("concurrency"); + d.Remove("id"); + d.Remove("concurrency"); long ravenId = util.IdFromResponse((await util.PostAsync("service-rate", d.ToString()))); ServiceRateMap.Add(rateId, ravenId); return ravenId; @@ -2519,8 +2519,8 @@ namespace AyaNova.PlugIn.V8 d.active = false;//assume it's no longer active d.name = d.name + " (v8 migrate required)"; d.notes = d.notes + "\nThis record created automatically by v8 migrate because a migrated record is using this as a Travel rate but it was changed in v7 to a Service rate"; - d.remove("id"); - d.remove("concurrency"); + d.Remove("id"); + d.Remove("concurrency"); long ravenId = util.IdFromResponse((await util.PostAsync("travel-rate", d.ToString()))); TravelRateMap.Add(rateId, ravenId); return ravenId;