Skip to content

Commit

Permalink
feat:다락방 멤버 조회 api 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
ss0526100 committed Oct 16, 2024
1 parent fba0ff9 commit 0bc64a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/apis/gets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export const getDarakbangMembers = async () => {
const response = await ApiClient.getWithLastDarakbangId('/members');

const json: GetDarakbangMembers = await response.json();
return json.data.darakbangMemberResponses;
return json.data.responses;
};

export const getDarakbangInviteCode = async () => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/apis/responseTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export interface GetMyRoleInDarakbang {

export interface GetDarakbangMembers {
data: {
darakbangMemberResponses: {
responses: {
memberId: number;
nickname: string;
profile: string;
Expand Down

0 comments on commit 0bc64a6

Please sign in to comment.