Closed jacob418 closed 5 years ago
Any fix for this?
Is this as easy as to replace https://github.com/node-gitlab/node-gitlab/blob/2e547cb94ba8dfa3d6c648f9526083fd2e65ccc4/lib/ApiBaseHTTP.js#L88 with
return fn(err, ret || response.body.message);
Seems like the obvious choice but I am not familiar with the codebase.
lib\ApiBaseHTTP.js:88:42
When debugging this code, i recogniced, that in
the
response.body
is already parsed, resulting in an error, when trying to parse.