mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Don't think it's necessary to include a name but the upload is failing for some reason
This commit is contained in:
@@ -33,7 +33,7 @@ public static class Zipline
|
||||
using var formContent = new MultipartFormDataContent();
|
||||
var fileContent = new StreamContent(content);
|
||||
fileContent.Headers.ContentType = mimeType;
|
||||
formContent.Add(fileContent);
|
||||
formContent.Add(fileContent, "upload", Money.GenerateEventId());
|
||||
client.DefaultRequestHeaders.TryAddWithoutValidation("Authorization", settings[BuiltIn.Keys.ZiplineKey].Value);
|
||||
if (expiration != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user