Skip to content

Commit

Permalink
feature/follow-count-added-blog-list
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-zip committed Sep 2, 2024
1 parent ce1ad55 commit 5326e2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public BlogResponseForList transform(BlogDocument blogDocument) {
blogResponseList.setProfileTag(profileInternalResponse.getProfileTag());
blogResponseList.setProfileImage(profileInternalResponse.getProfileImage());
blogResponseList.setBadge(profileInternalResponse.isBadge());
blogResponseList.setLikes(likeCountCompletableFuture.join());
blogResponseList.setLikes(likeCountCompletableFuture.join() != null ? likeCountCompletableFuture.join() : 0);
blogResponseList.setFollowers(profileInternalResponse.getFollowers());
blogResponseList.setFollowing(profileInternalResponse.getFollowing());
return blogResponseList;
Expand Down

0 comments on commit 5326e2d

Please sign in to comment.