Hi,
Handling endpoints in the node server and constantly getting
<Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client>
Error appears in the row having 200. I would think that this error shouldn't appear as I'm checking that header has not yet been sent..
else if (res.setHeader !== true) {
res.status(200).json({ message: getLicenseResp });
}
What I'm not getting ๐ ?