This commit is contained in:
2020-05-13 22:41:52 +00:00
parent ecec874238
commit 287b318a4b

View File

@@ -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