Fix remaining existing tests

This commit is contained in:
Tim Vahlbrock 2024-11-01 12:37:37 +01:00
parent 2083213131
commit 22729f4513
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -244,7 +244,7 @@ export default class MPollBody extends React.Component<IBodyProps, IState> {
if (!this.state.voteRelations || !this.context) {
return new Map<string, UserVote>();
}
return collectUserVotes(allVotes(this.state.voteRelations), null, this.state.selected);
return collectUserVotes(allVotes(this.state.voteRelations), this.context.getUserId(), this.state.selected);
}
/**