Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

내 티켓 정보 출력 버그 수정 #248

Merged
merged 3 commits into from
Jul 22, 2019

Conversation

dev-nicelee
Copy link
Contributor

const {id, status, amount, paidAt, options, product, receiptUrl, cancelReceiptUrl} = ticket
const {type, nameKo, nameEn, descKo, descEn, cancelableDate, startAt, finishAt} = product
const {type, name, desc, cancelableDate, startAt, finishAt} = product
const parsedOptions = JSON.parse(options)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

options === '"{}"' 인 경우가 발생하는 것 같습니다. 그래서 파싱했을 때 { 0: '{', 1: '}' } 이 되는..

@amazingguni Ticket.options 필드의 기본값이 dict 로 되어있는데요, "{}" 로 serialize 되면 좋을 것 같습니다.

Copy link
Member

@amazingguni amazingguni Jul 21, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수정했습니다 :) @cmygray

@cmygray
Copy link
Member

cmygray commented Jul 16, 2019

#247, #246 이슈 해결 커밋을 추가했습니다.

Ticket/DetailBox 테이블의 첫번째 col 텍스트가 영문화되지 않은 것을 발견했습니다.

@amazingguni amazingguni merged commit af82cd3 into develop Jul 22, 2019
@amazingguni amazingguni deleted the fix/my-ticket-information branch July 22, 2019 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants