mediumaquamarine / impossiblebigoquiz

The impossible big o quiz
0 stars 4 forks source link

message in pull request #152

Closed sethkoch closed 7 years ago

sethkoch commented 7 years ago

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.