diff options
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 ] |