Skip to content

Commit

Permalink
adjust filename
Browse files Browse the repository at this point in the history
  • Loading branch information
xxyziggy committed Apr 15, 2024
1 parent 1d1128f commit d02df13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FunctionApp/UploadDocumentToLoxo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public async Task<IActionResult> Run(
using (var content = new MultipartFormDataContent())
{
var fileContent = new ByteArrayContent(fileData);
var fileName = Uri.EscapeDataString($"Filled in form ({DateTime.Now}).pdf");
var fileName = Uri.EscapeDataString($"Form {DateTime.Now}.pdf");
fileContent.Headers.ContentType = new MediaTypeHeaderValue("application/octet-stream");
content.Add(fileContent, "document", fileName);

Expand Down

0 comments on commit d02df13

Please sign in to comment.