Skip to content

[Bug] GroupSelector 그룹 생성 응답 파싱 — SuccessResponse 래퍼 미반영으로 성공을 실패로 표시 #30

Description

@dongmin0204

현상

src/components/Forms/GroupSelector.jsx:47-63response.data.ubuntuGid를 직접 읽음. BE POST /api/groupsSuccessResponse.created(GroupResponseDTO) — 실제 필드는 response.data.data.ubuntuGid(admin_be develop GroupController.createGroup 확인).

결과: 그룹은 생성됐는데 "서버 응답 형식이 올바르지 않습니다" alert.

수정

response.data.data에서 ubuntuGid/groupName 추출 (기존 data.data || data 폴백 패턴 재사용). 요청 바디 누락 문제는 #8 참조.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions