Skip to content

Commit

Permalink
[fix] #53 test 로직 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
RyuKwanKon committed Jan 18, 2024
1 parent 4538018 commit d0f4f26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ public class PostController {
private final PostService postService;

@GetMapping
public ResponseEntity<SuccessResponse<?>> getAllPosts(// @UserId final Long userId,
public ResponseEntity<SuccessResponse<?>> getAllPosts(@UserId final Long userId,
@RequestParam(required = false) final String key,
@RequestParam final String type,
@RequestParam(required = false) final String gender,
final Pageable pageable) {
final PostSearchResponseDto responseDto = postService.getAllPosts(1L, key, type, gender, pageable);
final PostSearchResponseDto responseDto = postService.getAllPosts(userId, key, type, gender, pageable);
return SuccessResponse.ok(responseDto);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ public class SecurityConfig {
"api/member/reissue",
"api/department",
"/ws/*",
"/ws/**",
"/*",
"/**"
"/ws/**"
};

@Bean
Expand Down

0 comments on commit d0f4f26

Please sign in to comment.