Skip to content

Commit

Permalink
refactor : 복수 표현으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
wjdwnsdnjs13 committed Oct 18, 2024
1 parent 907179c commit bb6091e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ public void softDelete(@Parameter(hidden = true) Long memberId) {
memberUsecase.softDelete(memberId);
}

@GetMapping("/admin/memberCount")
@GetMapping("/admin/membersCount")
@ResponseStatus(HttpStatus.OK)
@Operation(summary = "(admin) 가입 멤버 수 조회 API")
public int memberCount() {
return memberUsecase.memberCount();
public int membersCount() {
return memberUsecase.membersCount();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public interface MemberUsecase {

void softDelete(Long memberId);

int memberCount();
int membersCount();

@Getter
@Builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public void softDelete(Long memberId) {
}

@Override
public int memberCount() {
public int membersCount() {
return memberRepository.membersCount();
}
}

0 comments on commit bb6091e

Please sign in to comment.