jamesremuscat / TNTFL-web

Table football ladder v3.0
4 stars 8 forks source link

Player API produces invalid JSON #4

Closed janslow closed 9 years ago

janslow commented 9 years ago

A request to the JSON player API (such as player/jrem/json) produces invalid JSON, after the "overrated" value.

For example:

{ "name" : "jrem", "rank" : 6, "active" : true, "skill": 49.3326594304, "overrated" : 4.65455703997", "total" : { "for": 5272, "against": 4342, "games": 958, "wins": 519, "losses": 296, "gamesToday" : 0 }, "games" : { "href" : "games/json" }}
janslow commented 9 years ago

Fixed in pull request #5