Skip to content

Commit

Permalink
[refactor] 기능 메소드로 변경 (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlarlgnszx committed Nov 18, 2024
1 parent 8b3c339 commit 3de6384
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/sopt/app/facade/HomeFacade.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public List<RecentPostsResponse> getRecentPosts(User user) {
}

public List<EmploymentPostResponse> getHomeEmploymentPost(User user) {
return playgroundAuthService.getPlaygroundEmploymentPost(user.getPlaygroundToken());
return playgroundAuthService.getPlaygroundEmploymentPostWithMemberInfo(user.getPlaygroundToken());
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public ResponseEntity<List<AppServiceEntryStatusResponse>> getAppService(
}


@Operation(summary = "최근 채용탭 10개 조회")
@Operation(summary = "최근 게시물 카테고리별 조회")
@ApiResponses({
@ApiResponse(responseCode = "200", description = "success"),
@ApiResponse(responseCode = "401", description = "token error", content = @Content),
Expand All @@ -70,6 +70,7 @@ public ResponseEntity<List<RecentPostsResponse>> getRecentPost(
homeFacade.getRecentPosts(user));
}

@Operation(summary = "최근 채용탭 10개 조회")
@ApiResponses({
@ApiResponse(responseCode = "200", description = "success"),
@ApiResponse(responseCode = "401", description = "token error", content = @Content),
Expand Down

0 comments on commit 3de6384

Please sign in to comment.