Skip to content

프로모션 등록 시 isExternal 미검증으로 400 가능 #540

Open

Description

@move-hoon

문제

src/admin/pages/promotion/Promotion.tsx(109-111행)은 newImageUrl/redirectUrl만 null 가드한다. 캐러셀 요청 양쪽 subtype에서 isExternal은 필수인데 미설정 값이 그대로 전송되어 서버 400.

제안

제출 전 isExternal 기본값 보장 또는 검증 추가.


출처: PR #538 감사 (scope-out 결정)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions