|
|
@@ -221,7 +221,7 @@ public class CollectionService {
|
|
|
}
|
|
|
}
|
|
|
Follow follow = followRepo.findFirstByFollowUserIdAndUserId(collection.getId(), user.getId());
|
|
|
- if (!ObjectUtil.isEmpty(subscribe)) {
|
|
|
+ if (!ObjectUtil.isEmpty(follow)) {
|
|
|
collectionDTO.setFollow(true);
|
|
|
}
|
|
|
}
|