Skip to content

Commit a608c79

Browse files
committed
blank instead of error
1 parent 612bbb5 commit a608c79

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

apps/server/src/room/interaction/db/questions.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,11 @@ function mapDbQuestionData(question: DbQuestionData): RoomQuestion {
112112
},
113113
);
114114

115-
throw new Error("STV Election not implemented"); // TODO: Implement STV counting and results formatting
115+
return {
116+
type: "PreferentialVote",
117+
results: [],
118+
abstained: abstainCount,
119+
}
116120
}
117121
default:
118122
throw new UnreachableError(question.format);

0 commit comments

Comments
 (0)