async-postgres icon indicating copy to clipboard operation
async-postgres copied to clipboard

Response statusCode instead of code

Open Fifciu opened this issue 5 years ago • 0 comments

In rest_client.js we have line like:

var errorMessage = 'HTTP ERROR ' + response.code;

This response.code always equals undefined. I think it should be response.statusCode

Fifciu avatar Mar 09 '20 11:03 Fifciu