-
Notifications
You must be signed in to change notification settings - Fork 5
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 supplying images JSON directly as "collection" POST data #33
Conversation
console.log("Export endpoint hit for url " + url); | ||
require("axios").get(url).then(redirectToProcess); | ||
} else { // supplying JSON for images directly: | ||
redirectToProcess(req.query.collection); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we have to parse the JSON, right?
Great! Let's add a test with some json! image-sequencer-app/test/process.js Line 54 in 892c1ba
|
Modified in response to this; although the test did not fail?
|
The new test worked, as far as I can see! #34 will help but merging for now. |
Ah, oops! I need to bump the version number. New PR. |
Published |
to match https://github.com/publiclab/mapknitter-exporter-sinatra#usage
Fixes #32 i hope!