Skip to content

Commit 241f7df

Browse files
committed
fix : recruiting이 아닌 오더만 가게에 뜨도록 변경
1 parent 20e541e commit 241f7df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

order-service/src/main/java/com/example/order_service/service/GroupService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public List<GroupResponse> getGroupsByStoreId(Long storeId) {
9999
if (groups.isEmpty()) throw new CustomException(ErrorCode.NOT_FOUND);
100100

101101
return groups.stream()
102-
.filter(group -> group.getStatus() == GroupStatus.SUBMITTED)
102+
.filter(group -> group.getStatus() != GroupStatus.RECRUITING)
103103
.map(GroupEntity::toResponse)
104104
.collect(Collectors.toList());
105105
}

0 commit comments

Comments
 (0)