keystone-storage-adapter-s3
keystone-storage-adapter-s3 copied to clipboard
pre:upload option is gone?
Hello, before the S3 storage adapter it was possible to use a pre:upload hook to do stuff with the file before uploading. I'm just wondering if that's still a possibility. Thanks!
I've just hit this, previously I could do:
Sermon.fields.audio.pre('upload', function(item, file, next) {
Which would allow me to update the ID3 tags of an MP3 file just prior to upload... currently it just gives:
TypeError: Sermon.fields.audio.pre is not a function