-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Milestone
Description
Steps to reproduce the behavior
in S3 file adapter,
add below code to have customized file name.
but the file name is still random created string
myFile: {
type: Types.File,
storage: storage,
filename: function (item, file) {
console.log('item.id='+ item._id);
return encodeURI(item._id + item.name);
},
},Expected behavior
we can plugin our own filename
Actual behavior
the file name is random string.
Reactions are currently unavailable