Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Commit

Permalink
[#44] 팔로우 구현
Browse files Browse the repository at this point in the history
- sendFollow -> follow로 변경
  • Loading branch information
choitaehoon committed Dec 5, 2020
1 parent 7e471be commit 3e9464b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ public class FollowController {
private final FollowService followService;

@PostMapping
public ResponseEntity<Void> sendFollow(@RequestBody Follow follow) {
followService.sendFollow(follow);
public ResponseEntity<Void> follow(@RequestBody Follow follow) {
followService.follow(follow);

return RESPONSE_ENTITY_OK;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class FollowService {

private final FollowRepository followRepository;

public void sendFollow(Follow follow) {
public void follow(Follow follow) {
followRepository.save(follow);
}

Expand Down

0 comments on commit 3e9464b

Please sign in to comment.