diff options
author | crowlKats <13135287+crowlKats@users.noreply.github.com> | 2020-07-22 14:04:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-22 08:04:35 -0400 |
commit | 9d13b539b5dfc96e2b5a0e89fc8e0312d6500fff (patch) | |
tree | dce1f6ff07f5137222db4b90bc58a4ab40c096b4 /cli | |
parent | f34a441a7d3e3e5c1517207a1ee2ed2a0eaee0c9 (diff) |
Fix lastModified for DomFile in FormData (#6830)
Diffstat (limited to 'cli')
-rw-r--r-- | cli/js2/22_form_data.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/js2/22_form_data.js b/cli/js2/22_form_data.js index 1c2b84311..cc656d387 100644 --- a/cli/js2/22_form_data.js +++ b/cli/js2/22_form_data.js @@ -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", { |