eric-at-nocoast/zendesk-node-api

status code while creating ticket

tararam123 opened this issue · 1 comments

Hello, after creating ticket it gives whole result instead of status code. This is making difficult to put logic in code. I there is error or successful post also it comes in result.

Hey @tararam123 replace in zdrequest.js, line 35 fufill(body); by fufill(res);