Skip to content

Commit

Permalink
hotfix: Question isHot 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
annahxxl committed Mar 22, 2024
1 parent f722fbc commit 370e5f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class Question(
}

fun isHot(threshold: Double): Boolean {
return shareCount >= threshold
return popularity >= threshold
}

fun isWriter(memberId: Long?): Boolean {
Expand Down

0 comments on commit 370e5f5

Please sign in to comment.