Hi
I am calling store procedures and right before I use into(res) which sends the response. I want to fetch the user id from the response json received from the SQL query and then create and attach jwt token with response body or header before sending it.
I also want to know how to store result that I get from req.sql into variable and not directly into res so I can use to check password using bcrypt.
Hi
I am calling store procedures and right before I use into(res) which sends the response. I want to fetch the user id from the response json received from the SQL query and then create and attach jwt token with response body or header before sending it.
I also want to know how to store result that I get from req.sql into variable and not directly into res so I can use to check password using bcrypt.