feat: add support for attachment descriptions

This commit is contained in:
spiral
2021-11-19 09:34:52 -05:00
parent 36acb5bae6
commit 0ca356eec3
7 changed files with 25 additions and 7 deletions

View File

@@ -154,8 +154,8 @@ namespace Myriad.Rest
{
for (var i = 0; i < files.Length; i++)
{
var (filename, stream) = files[i];
mfd.Add(new StreamContent(stream), $"file{i}", filename);
var (filename, stream, _) = files[i];
mfd.Add(new StreamContent(stream), $"files[{i}]", filename);
}
}