We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61ae6b0 commit 87573b9Copy full SHA for 87573b9
index.js
@@ -144,7 +144,7 @@ class S3Adapter {
144
let key_without_prefix = filename;
145
if (this._generateKey instanceof Function) {
146
try {
147
- key_without_prefix = this._generateKey(filename);
+ key_without_prefix = this._generateKey(filename, contentType, options);
148
}catch(e){
149
throw new Error(e); // throw error if generateKey function fails
150
}
0 commit comments