mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
Fix lastModified for DomFile in FormData (#6830)
This commit is contained in:
parent
f34a441a7d
commit
9d13b539b5
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
if (value instanceof domFile.DomFile) {
|
||||
return new domFile.DomFile([value], filename || value.name, {
|
||||
type: value.type,
|
||||
lastModified: value.lastModified,
|
||||
});
|
||||
} else if (value instanceof blob.Blob) {
|
||||
return new domFile.DomFile([value], filename || "blob", {
|
||||
|
|
Loading…
Reference in a new issue