Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow visibility option #3

Merged
merged 3 commits into from
Dec 16, 2019
Merged

Allow visibility option #3

merged 3 commits into from
Dec 16, 2019

Conversation

clementai
Copy link
Contributor

@clementai clementai commented Dec 16, 2019

This PR allow visibility option on store method, this is needed if you want to directly use uploaded file as a preview before permanent storage.

I've also fixed default options which should be an empty object, currently this code is failing if we don't pass options to store method.

There is a PHP PR too laravel/vapor-core#21

Pass an empty object instead of null as default argument for options
s3Response was not used in this file, I removed it
Take into account visibility options passed to store method by sending
it to Laravel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants