Postgresql – Can not res.send() (error: "Cannot set headers after they are sent to the client") after I do query to database PostgrSQL
I know, it sounds really wierd, but it's true. I was sitting and making an API on node.js, but when I began to test it, I was surprised to find out that nearly in beginning of query treatment when the…