Skip to content

Commit

Permalink
Merge pull request #162 from ssu-student-union/feat/142-post
Browse files Browse the repository at this point in the history
[feat] : #142 관리자 권한추가
  • Loading branch information
beakgugong authored Nov 30, 2024
2 parents 66aa459 + fc21c5e commit 54bdbb8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ public PostListRes<?> searchPost(Long userId, int page, int take, String q, Stri
memberReader.getMembersWithUserId(userId).stream()
.map(Member::getGroupId)
.filter(groupId -> groupId != null)
.anyMatch(groupId -> groupId.equals(9L));
.anyMatch(groupId -> groupId.equals(9L)||groupId.equals(3L));

Page<Post> postList = null;

Expand Down

0 comments on commit 54bdbb8

Please sign in to comment.