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
It looks like you are using sequalize's query() method which takes a raw SQL query as a string. From doing some research it seems that sequalize wont automatically escape these strings so you need to either use '?' placeholders instead of template literals to add user input to the query string. You can see this stack overflow article and take a look at the documentation for how to implement replacements here
The text was updated successfully, but these errors were encountered:
products/server/controllers/retrieveProduct.js
Lines 14 to 32 in 35408ad
It looks like you are using sequalize's query() method which takes a raw SQL query as a string. From doing some research it seems that sequalize wont automatically escape these strings so you need to either use '?' placeholders instead of template literals to add user input to the query string. You can see this stack overflow article and take a look at the documentation for how to implement replacements here
The text was updated successfully, but these errors were encountered: