Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Get User's player data from /players/token/:token instead of from /games/:id` #167

Open
logan-hendricks opened this issue Aug 3, 2020 · 0 comments
Assignees

Comments

@logan-hendricks
Copy link
Collaborator

When getting the application off the ground, we ran into the problem of getting Your User's information. In a last ditch, late night change, we implemented the data from the player (as decided by the token) into the gameState.

Realistically, the gameState should only return game data, and not your player's data.

Acceptance Criteria

  • augment /players/token/:token to bring the entire player data back from the token provided
  • Remove the player data entries off of the gameState object on games/:id
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants