[fix/MAT-918] 빈 응답 API JSON 파싱 오류 수정#357
Merged
Merged
Conversation
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
성공 응답 body가 없는 일부 학생 앱 API에서
openapi-fetch가 JSON 파싱을 시도하며Unexpected end of input오류가 발생할 수 있는 문제를 수정합니다.피드백 제출, 비밀번호 재설정, 포인팅 피드백 제출 API 응답 파싱을
stream으로 변경해 빈 응답 body를 파싱하지 않도록 했습니다.Linear
Changes
/api/student/feedback응답 파싱을 건너뛰도록parseAs: 'stream'추가postFeeback.ts에서postFeedback.ts로 정정하고 export 경로 갱신/api/student/auth/password/reset응답 파싱을 건너뛰도록parseAs: 'stream'추가/api/student/auth/password/reset/send-code응답 파싱을 건너뛰도록parseAs: 'stream'추가/api/student/study/submit/pointing응답 파싱을 건너뛰도록parseAs: 'stream'추가Testing
pnpm --filter native typecheckRisk / Impact
Screenshots / Video
UI 변경 없음