Skip to content

Commit

Permalink
refactor: AuthorityGymResponse 내부에 accepted 필드 추가 (#307) (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoyun06 authored Dec 28, 2023
1 parent 10d6a68 commit 77b20dd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ public class AuthorityGymResponse {

private final Long authorityId;
private final String gymName;
private final Boolean accepted;

public AuthorityGymResponse(Authority authority) {
this(authority.getId(), authority.getGym().getName());
this(authority.getId(), authority.getGym().getName(), authority.getAccepted());
}
}

0 comments on commit 77b20dd

Please sign in to comment.