Skip to content

Commit

Permalink
Fix: feed visibility none condition
Browse files Browse the repository at this point in the history
피드 기록에서 비공개가 노출되는 현상 방지
  • Loading branch information
char-yb authored Feb 26, 2025
1 parent 2a42726 commit 9eecc30
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ public Slice<FeedOneResponse> findFeedByVisibilityAndPage(
ltMissionRecordId(lastId),
missionRecord.mission.member.in(members),
missionRecord.mission.visibility.in(visibilities),
checkMissionVisibilityNone(),
uploadStatusCompleteEq())
.orderBy(missionRecord.finishedAt.desc())
.limit((long) size + 1)
Expand All @@ -157,7 +158,8 @@ public List<MissionRecord> findFeedAllByMemberId(
.where(
mission.visibility.in(visibilities),
mission.member.id.eq(memberId),
uploadStatusCompleteEq())
uploadStatusCompleteEq(),
checkMissionVisibilityNone())
.orderBy(missionRecord.startedAt.desc())
.fetch();
}
Expand Down

0 comments on commit 9eecc30

Please sign in to comment.