Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Qi-Zhen-xin committed Nov 18, 2023
1 parent ae2be08 commit 21e860a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private Map<Object, Boolean> batchBlogIsLiked(List<String> blogIds) {
return new HashMap<>();
}
if (blogIds.isEmpty())
return CollectionUtil.empty(HashMap.class);
return new HashMap<>();
Map<Object, Boolean> isLiked = stringRedisTemplate.opsForSet().isMember(USER_BLOG_LIKED_KEY + userId,
blogIds.toArray());
return isLiked;
Expand Down

0 comments on commit 21e860a

Please sign in to comment.