diff --git a/openfeedback/src/main/java/io/openfeedback/android/OpenFeedbackRepository.kt b/openfeedback/src/main/java/io/openfeedback/android/OpenFeedbackRepository.kt index 097be63..cac83ce 100644 --- a/openfeedback/src/main/java/io/openfeedback/android/OpenFeedbackRepository.kt +++ b/openfeedback/src/main/java/io/openfeedback/android/OpenFeedbackRepository.kt @@ -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) } }