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

error in code? #9

Closed
gregpalaci opened this issue Nov 23, 2017 · 3 comments
Closed

error in code? #9

gregpalaci opened this issue Nov 23, 2017 · 3 comments

Comments

@gregpalaci
Copy link

gregpalaci commented Nov 23, 2017

let uriParts = uri.split('.');
let fileType = uri[uri.length - 1];

should be

let uriParts = uri.split('.');
let fileType = uriParts[uriParts.length - 1];
@gregpalaci
Copy link
Author

Also code doesn't send a POST anywhere right now

@brentvatne
Copy link
Member

@brentvatne
Copy link
Member

ah I see what you mean re the first comment, fixed here: #11

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

No branches or pull requests

2 participants