From e42101710e367833e52e7d8262d346a539effae8 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Sun, 27 Dec 2020 15:15:06 -0700 Subject: [PATCH] Change the type from number to be the specific answer type. --- server/src/objects/Team.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/objects/Team.ts b/server/src/objects/Team.ts index 20fa50a..7447362 100644 --- a/server/src/objects/Team.ts +++ b/server/src/objects/Team.ts @@ -53,7 +53,7 @@ export class Team { }; - public modifyAnswer(answerIndex: number, answer: string) { + public modifyAnswer(answerIndex: answer, answer: string) { /** * Takes the value of an answer and modifies in the storage. *