You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In postData.js you run two queries in parallel: INSERT INTO users ... and INSERT INTO sgc ....
Whether or not each query is successful, your cb function will be executed twice. This is not best practice because whoever is using this function will usually expect the callback to be executed only once.
The text was updated successfully, but these errors were encountered:
In
postData.js
you run two queries in parallel:INSERT INTO users ...
andINSERT INTO sgc ...
.Whether or not each query is successful, your
cb
function will be executed twice. This is not best practice because whoever is using this function will usually expect the callback to be executed only once.The text was updated successfully, but these errors were encountered: