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 394e175 commit 9d760beCopy full SHA for 9d760be
index.js
@@ -145,7 +145,7 @@ class S3Adapter {
145
let key_without_prefix = filename;
146
if (this._generateKey instanceof Function) {
147
try {
148
- key_without_prefix = this._generateKey(filename);
+ key_without_prefix = this._generateKey(filename, contentType, options);
149
}catch(e){
150
throw new Error(e); // throw error if generateKey function fails
151
}
0 commit comments