Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

pre:upload option is gone? #26

Open
manuelxaguilar opened this issue Oct 3, 2017 · 1 comment
Open

pre:upload option is gone? #26

manuelxaguilar opened this issue Oct 3, 2017 · 1 comment

Comments

@manuelxaguilar
Copy link

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!

@jamlen
Copy link

jamlen commented Aug 12, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants