nudj / nudj-backend

Nudj - Backend (Archive)
0 stars 0 forks source link

Job update not returning valid JSON #18

Closed richardbuckle closed 8 years ago

richardbuckle commented 8 years ago

While a POST to the endpoint api/v1/jobs correctly returns status 200 and valid JSON such as {"status":true,"data":{"id":35},"timestamp":1460820123.347}, a PUT to api/v1/jobs/{jobID] returns status 200 but no JSON data at all (zero-length string). The client expects it to return similar JSON to the POST request

This appears to be a regression and is causing the production app to report that the job update failed when in fact it succeeded.

shtukas commented 8 years ago

Definitively sorry for the trouble. It's corrected now. Both in dev and prod.

richardbuckle commented 8 years ago

Verified, thanks.