Closed michaelkirk closed 8 years ago
Getting the wrong current_spot id for games list vs individual game endpoints.
GET games.json incorrectly returns
GET games.json
[... { created_at: "2015-06-16T02:13:41.199Z", current_spot_id: 6, id: 8, name: "Game 8", spot_ids: [37, 6] }, ...]
Whereas GET /games/8.json (correctly) returns
GET /games/8.json
{ created_at: "2015-06-16T02:13:41.199Z", current_spot_id: 37, id: 8, name: "Game 8", spot_ids: [37, 6] }
This was an issue that I actually fixed here: but failed to deploy to production. It was successfully deployed last friday.
fixed by https://github.com/jackpine/biketag-api/commit/4ea635a89d6d927b97b65548dff69cdd4f4a7a16
Getting the wrong current_spot id for games list vs individual game endpoints.
GET games.json
incorrectly returnsWhereas
GET /games/8.json
(correctly) returns