firstandthird / hapi-job-queue

Hapi and MongoDB powered job queue.
MIT License
3 stars 1 forks source link

Run api payload issue #17

Closed dawnerd closed 9 years ago

dawnerd commented 9 years ago

Doesn't appear that json is correctly being parsed.

If you post to a single job with the data [null] the runner will interpret it as a string and run the task 6 times! No bueno.

jgallen23 commented 9 years ago

good thing we found this before launch...

dawnerd commented 9 years ago

Actually not a problem after-all. I didn't post the job data with a content-type of application/json.