Merge branch 'fe/fix/error-api' into 'fe/develop'

Fix: 멤버 추가 되게 api 재연결

See merge request s11-s-project/S11P21S002!287
This commit is contained in:
김진현 2024-10-04 14:35:23 +09:00
commit 4b85ff33d8

View File

@ -75,7 +75,7 @@ export default function ProjectMemberManage() {
updatePrivilege.mutate({ updatePrivilege.mutate({
projectId: Number(projectId), projectId: Number(projectId),
memberId, memberId,
privilegeData: { memberId, privilegeType: role }, privilegeType: role, // 수정: privilegeData 대신 privilegeType만 전달
}); });
} else { } else {
addProjectMember.mutate({ addProjectMember.mutate({