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
I am new to Node JS and GitHub. I found your example very enlightening. I hope to tailor this for my needs but wanted to report a problem I had saving a token using your code.
I had to make the following two changes:
In your "accessTokenModel.js", function "saveAccessToken", I had to modify the call to: "accessTokensDBHelper.saveAccessToken(accessToken, user.username, callback)", and
In your "accessTokensDBHelper.js", function "saveAccessToken", I had to modify the SQL query to INSERT INTO access_tokens (access_token, user_id) VALUES ("${accessToken}", "${userID}") ON DUPLICATE KEY UPDATE access_token = "${accessToken}";
I haven't examined this much so I am not certain if this is the correct fix.
The text was updated successfully, but these errors were encountered:
I am new to Node JS and GitHub. I found your example very enlightening. I hope to tailor this for my needs but wanted to report a problem I had saving a token using your code.
I had to make the following two changes:
I haven't examined this much so I am not certain if this is the correct fix.
The text was updated successfully, but these errors were encountered: