diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2017-05-11 19:47:49 +0200 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2017-05-12 00:13:57 +0200 |
commit | b494d2d141a942b0905ac46a551ff42878f0f081 (patch) | |
tree | 18d94a3e86d0749f013075a110d6c43efaa782de /frontend/src/schemas/games.js | |
parent | Add time limit setting (diff) | |
download | seven-wonders-b494d2d141a942b0905ac46a551ff42878f0f081.tar.gz seven-wonders-b494d2d141a942b0905ac46a551ff42878f0f081.tar.bz2 seven-wonders-b494d2d141a942b0905ac46a551ff42878f0f081.zip |
First attempt at lobby joining
Diffstat (limited to 'frontend/src/schemas/games.js')
-rw-r--r-- | frontend/src/schemas/games.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/schemas/games.js b/frontend/src/schemas/games.js index 180c9e69..f7a9ffb8 100644 --- a/frontend/src/schemas/games.js +++ b/frontend/src/schemas/games.js @@ -4,8 +4,8 @@ const player = new schema.Entity('players', {}, { idAttribute: 'username' }) -const game = new schema.Entity('games', { +export const game = new schema.Entity('games', { players: [ player ] }) -export default [ game ] +export const gameList = [ game ] |