Skip to content

[fix/MAT-918] 빈 응답 API JSON 파싱 오류 수정#357

Merged
sterdsterd merged 3 commits into
developfrom
fix/mat-918-feedback
May 26, 2026
Merged

[fix/MAT-918] 빈 응답 API JSON 파싱 오류 수정#357
sterdsterd merged 3 commits into
developfrom
fix/mat-918-feedback

Conversation

@sterdsterd
Copy link
Copy Markdown
Collaborator

@sterdsterd sterdsterd commented May 26, 2026

Summary

성공 응답 body가 없는 일부 학생 앱 API에서 openapi-fetch가 JSON 파싱을 시도하며 Unexpected end of input 오류가 발생할 수 있는 문제를 수정합니다.
피드백 제출, 비밀번호 재설정, 포인팅 피드백 제출 API 응답 파싱을 stream으로 변경해 빈 응답 body를 파싱하지 않도록 했습니다.

Linear

  • MAT-918

Changes

  • /api/student/feedback 응답 파싱을 건너뛰도록 parseAs: 'stream' 추가
  • 피드백 API 파일명을 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 typecheck

Risk / Impact

  • 영향 범위: 학생 앱 피드백 제출, 비밀번호 재설정, 비밀번호 재설정 인증번호 발송, 포인팅 피드백 제출 API 호출
  • 확인이 필요한 부분: 네 API의 성공 플로우에서 기존 UI 동작이 유지되는지 확인 필요
  • 배포 시 유의사항: 응답 body를 사용하지 않는 API에 한정한 변경입니다.

Screenshots / Video

UI 변경 없음

@linear
Copy link
Copy Markdown

linear Bot commented May 26, 2026

MAT-918

@claude
Copy link
Copy Markdown

claude Bot commented May 26, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@sterdsterd sterdsterd self-assigned this May 26, 2026
@sterdsterd sterdsterd added the 🐞 Fix 버그 수정 label May 26, 2026
@sterdsterd sterdsterd merged commit 9f24c95 into develop May 26, 2026
2 checks passed
@sterdsterd sterdsterd deleted the fix/mat-918-feedback branch May 26, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 Fix 버그 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant