changed the second function in the auth function to err instead of res in the parameter. I suppose this means nothing since it is never referred to. I suppose it just as easily be changed to banana. I believe the second function never gets called if the call is successful.
Changed server.js to add a /banana route. I’ll use this to check if user has an authentic token, rather than questions, because there is no reason to do all the extra steps that questions does. I think the auth process will now be faster.
changed the second function in the auth function to err instead of res in the parameter. I suppose this means nothing since it is never referred to. I suppose it just as easily be changed to banana. I believe the second function never gets called if the call is successful.
Changed server.js to add a /banana route. I’ll use this to check if user has an authentic token, rather than questions, because there is no reason to do all the extra steps that questions does. I think the auth process will now be faster.