At main.js line 39, it makes service call with the score and person's Fb_Id. All the params are correct as seen by the window.alert() message before the service call. However the POST request failed and returned a 500 Internal Service Error.
Right now, the code works so that anyone can click on the players and give them 10 points. Therefore, the POST request to update one's score can be easily tested.
Does this happen when you run the code locally? For some reason I see the error on the "live" site (cap-it.herokuapp.com) but not when I run it locally.
At main.js line 39, it makes service call with the score and person's Fb_Id. All the params are correct as seen by the window.alert() message before the service call. However the POST request failed and returned a 500 Internal Service Error.
Right now, the code works so that anyone can click on the players and give them 10 points. Therefore, the POST request to update one's score can be easily tested.