@teamkeel/functions-runtime 0.395.6 → 0.395.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/File.js +2 -5
package/package.json
CHANGED
package/src/File.js
CHANGED
|
@@ -217,15 +217,12 @@ async function storeFile(contents, key, filename, contentType, expires) {
|
|
|
217
217
|
Body: contents,
|
|
218
218
|
ContentType: contentType,
|
|
219
219
|
ContentDisposition: `attachment; filename="${encodeURIComponent(
|
|
220
|
-
filename
|
|
220
|
+
this.filename
|
|
221
221
|
)}"`,
|
|
222
222
|
Metadata: {
|
|
223
|
-
filename: filename,
|
|
223
|
+
filename: this.filename,
|
|
224
224
|
},
|
|
225
225
|
ACL: "private",
|
|
226
|
-
ContentDisposition: `attachment; filename="${encodeURIComponent(
|
|
227
|
-
this.filename
|
|
228
|
-
)}"`,
|
|
229
226
|
};
|
|
230
227
|
|
|
231
228
|
if (expires) {
|