From 9811ad6b40340539469ba5afddfc9c63ef23d392 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 13 May 2020 23:08:04 +0000 Subject: [PATCH] --- source/Plugins/AyaNova.Plugin.V8/V8.cs | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/source/Plugins/AyaNova.Plugin.V8/V8.cs b/source/Plugins/AyaNova.Plugin.V8/V8.cs index f3c6485..e071ad9 100644 --- a/source/Plugins/AyaNova.Plugin.V8/V8.cs +++ b/source/Plugins/AyaNova.Plugin.V8/V8.cs @@ -619,7 +619,7 @@ namespace AyaNova.PlugIn.V8 repost = true; } if (repost) - await util.PutAsync("Customer/" + RavenId.ToString(), d.ToString()); + await util.PutAsync("Customer/", d.ToString()); //----- //Event log fixup @@ -671,7 +671,7 @@ namespace AyaNova.PlugIn.V8 if (ShouldExportCustom) d.customFields = CustomFieldData(c, DateCustomFields); - var rMainObject = await util.PostAsync("HeadOffice", d.ToString()); + var rMainObject = await util.PostAsync("head-office", d.ToString()); long RavenId = util.IdFromResponse(rMainObject); AddMap(c.ID, RavenId); @@ -701,7 +701,7 @@ namespace AyaNova.PlugIn.V8 repost = true; } if (repost) - await util.PutAsync(ObjectTypeName + "/" + RavenId.ToString(), d.ToString()); + await util.PutAsync("head-office", d.ToString()); //----- //Event log fixup @@ -861,7 +861,7 @@ namespace AyaNova.PlugIn.V8 repost = true; } if (repost) - await util.PutAsync(RavenObjectName + "/" + RavenId.ToString(), d.ToString()); + await util.PutAsync(RavenObjectName, d.ToString()); //----- //Event log fixup @@ -943,7 +943,7 @@ namespace AyaNova.PlugIn.V8 repost = true; } if (repost) - await util.PutAsync(ObjectTypeName + "/" + RavenId.ToString(), d.ToString()); + await util.PutAsync(ObjectTypeName , d.ToString()); //----- //Event log fixup @@ -1022,7 +1022,7 @@ namespace AyaNova.PlugIn.V8 repost = true; } if (repost) - await util.PutAsync(ObjectTypeName + "/" + RavenId.ToString(), d.ToString()); + await util.PutAsync(ObjectTypeName , d.ToString()); //----- //Event log fixup @@ -1090,7 +1090,7 @@ namespace AyaNova.PlugIn.V8 if (repost) - await util.PutAsync(ObjectTypeName + "/" + RavenId.ToString(), d.ToString()); + await util.PutAsync(ObjectTypeName, d.ToString()); //----- //Event log fixup @@ -1170,7 +1170,7 @@ namespace AyaNova.PlugIn.V8 repost = true; } if (repost) - await util.PutAsync(ObjectTypeName + "/" + RavenId.ToString(), d.ToString()); + await util.PutAsync(ObjectTypeName, d.ToString()); //----- @@ -1252,7 +1252,7 @@ namespace AyaNova.PlugIn.V8 repost = true; } if (repost) - await util.PutAsync(ObjectTypeName + "/" + RavenId.ToString(), d.ToString()); + await util.PutAsync(ObjectTypeName , d.ToString()); //----- //Event log fixup @@ -1331,7 +1331,7 @@ namespace AyaNova.PlugIn.V8 repost = true; } if (repost) - await util.PutAsync(ObjectTypeName + "/" + RavenId.ToString(), d.ToString()); + await util.PutAsync(ObjectTypeName, d.ToString()); //----- //Event log fixup @@ -1529,7 +1529,7 @@ namespace AyaNova.PlugIn.V8 repost = true; } if (repost) - await util.PutAsync(RavenObjectName + "/" + RavenId.ToString(), d.ToString()); + await util.PutAsync(RavenObjectName, d.ToString()); //----- //Event log fixup @@ -1613,7 +1613,7 @@ namespace AyaNova.PlugIn.V8 repost = true; } if (repost) - await util.PutAsync(RavenObjectName + "/" + RavenId.ToString(), d.ToString()); + await util.PutAsync(RavenObjectName , d.ToString()); //----- //Event log fixup @@ -1777,7 +1777,7 @@ namespace AyaNova.PlugIn.V8 //update it progress.SubOp("Posting translation " + exportName + " to server "); - await util.PutAsync("Translation/UpdateTranslationItemsDisplayText", + await util.PutAsync("translation/updatetranslationitemsdisplaytext", JArray.FromObject(exportItems).ToString()); progress.Op("");