From 287b318a4b634c542b58276a00ab6a94e83489c3 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 13 May 2020 22:41:52 +0000 Subject: [PATCH] --- source/Plugins/AyaNova.Plugin.V8/V8.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Plugins/AyaNova.Plugin.V8/V8.cs b/source/Plugins/AyaNova.Plugin.V8/V8.cs index 68132b3..f79b1e5 100644 --- a/source/Plugins/AyaNova.Plugin.V8/V8.cs +++ b/source/Plugins/AyaNova.Plugin.V8/V8.cs @@ -2280,7 +2280,7 @@ namespace AyaNova.PlugIn.V8 formDataContent.Add(AttachmentFile); //Upload - var a = await util.PostFormDataAsync("Attachment", formDataContent); + var a = await util.PostFormDataAsync("attachment", formDataContent); //Map it for later processing of wiki //attachment upload route returns all attachments for this object in file name order //so need to find *our* most recent uploaded attachment so need to find the highest raven id number @@ -2367,7 +2367,7 @@ namespace AyaNova.PlugIn.V8 formDataContent.Add(AttachmentFile); //Upload - await util.PostFormDataAsync("Attachment", formDataContent); + await util.PostFormDataAsync("attachment", formDataContent); //No need to map it or save response as long as it works that's all that matters