Skip to content

Commit

Permalink
fix: #20 질문 tags 조회 key name 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
tnals2384 committed Mar 4, 2024
1 parent 8f4af20 commit 8e99118
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private void decreaseTagCount(String key, String tag) {
//해당 question 답변에 많이 쓰인 태그 7개 조회
public Set<String> getTagsByQuestion(Long questionId) {
String question = questionId.toString();
return zSetOperations.reverseRange(question, 0, 7);
return zSetOperations.reverseRange(QUESTION_TAGS_KEY+question, 0, 7);
}


Expand Down

0 comments on commit 8e99118

Please sign in to comment.