0
0
Fork 0

Change "game_code" commit to "gameCode" for consistency

This commit is contained in:
Oliver-Akins 2021-01-07 13:33:55 -07:00
parent 31d19bfe2d
commit cecfddfdee
2 changed files with 3 additions and 3 deletions

View file

@ -71,7 +71,7 @@ export default {
// Save the data in the store
this.$store.commit(`playerList`, data.players);
this.$store.commit(`game_code`, this.game_code);
this.$store.commit(`gameCode`, this.game_code);
this.$store.commit(`player`, {
name: this.name,
host: false,
@ -89,7 +89,7 @@ export default {
// Update storage
this.$store.commit(`playerList`, data.players);
this.$store.commit(`game_code`, data.game_code);
this.$store.commit(`gameCode`, data.game_code);
this.$store.commit(`player`, {
name: this.name,
host: true,