Skip to content

Commit

Permalink
fix(openfeedback): use voteId instead of voteItemId for upVotes in lo…
Browse files Browse the repository at this point in the history
…cal.
  • Loading branch information
GerardPaligot committed Nov 8, 2023
1 parent 91ebddb commit ed13fe9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class OpenFeedbackRepository(
status: VoteStatus
) {
auth.withFirebaseUser {
optimisticVoteCaching.updateCommentVote(voteItemId, status)
optimisticVoteCaching.updateCommentVote(voteId, status)
firestore.upVote(projectId, it.uid, talkId, voteItemId, voteId, status)
}
}
Expand Down

0 comments on commit ed13fe9

Please sign in to comment.