diff --git a/server/src/objects/Team.ts b/server/src/objects/Team.ts index 151b9d5..80a6183 100644 --- a/server/src/objects/Team.ts +++ b/server/src/objects/Team.ts @@ -97,7 +97,7 @@ export class Team { return { questions: this._questions, answers: this._answers, - hand: this._hand, + hands: this._hand, id: this.id, }; }; @@ -109,7 +109,7 @@ export class Team { let t = new Team(data.id); t._questions = data.questions; t._answers = data.answers; - t._hand = data.hand; + t._hand = data.hands; return t; }; }; \ No newline at end of file diff --git a/server/src/types/datastore.d.ts b/server/src/types/datastore.d.ts index e819395..e3b32f0 100644 --- a/server/src/types/datastore.d.ts +++ b/server/src/types/datastore.d.ts @@ -10,7 +10,7 @@ type datastoreObjectCard = string[]; interface datastoreTeam { questions: datastoreQuestionCard[]; - hand: datastoreQuestionCard[]; + hands: team_hands; answers: string[]; id: team; }