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

S3Adapter: expose the object and use => for s3.upload callback #156

Merged
merged 1 commit into from
Feb 2, 2016
Merged

S3Adapter: expose the object and use => for s3.upload callback #156

merged 1 commit into from
Feb 2, 2016

Conversation

skinp
Copy link
Contributor

@skinp skinp commented Feb 1, 2016

S3Adapter was confusion to use because it wasn't exposed at the package level and this looks like something that a lot of people would use. Expose S3Adapter directly, which means usage to import will be:

var S3Adapter = require('parse-server').S3Adapter;

Also changed callback of s3.upload call to use ES6's => for consistency.

gfosco added a commit that referenced this pull request Feb 2, 2016
S3Adapter: expose the object and use => for s3.upload callback
@gfosco gfosco merged commit 3978e41 into parse-community:master Feb 2, 2016
@skinp skinp deleted the patp.expose-s3 branch February 2, 2016 00:12
bernhardharrer pushed a commit to bernhardharrer/parse-server that referenced this pull request Feb 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants