Skip to content

fix: 테스트용 월간 리포트 테스트 삭제 API의 V1 fallback 처리 추가#178

Merged
1Seob merged 1 commit into
developfrom
fix/monthly-report-delete-v1-fallback
Jun 12, 2026
Merged

fix: 테스트용 월간 리포트 테스트 삭제 API의 V1 fallback 처리 추가#178
1Seob merged 1 commit into
developfrom
fix/monthly-report-delete-v1-fallback

Conversation

@1Seob

@1Seob 1Seob commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

📝 요약(Summary)

작업 내용

  • /api/v1/test/delete/monthly-report 호출 시 V2 월간 리포트를 우선 조회하도록 기존 동작을 유지했습니다.
  • V2 월간 리포트가 존재하지 않는 경우, 기존 V1 월간 리포트 삭제 로직을 호출하도록 fallback 처리를 추가했습니다.
  • V2가 존재하는 경우에는 기존 V2 삭제 및 크리스탈 환불 흐름을 그대로 사용합니다.

변경 이유

기존에는 /api/v1/test/delete/monthly-report에서 V2 월간 리포트만 조회하고 삭제했기 때문에, V1이 존재하는 사용자의 월간 리포트는 삭제할 수 없었습니다.

🔗 Related Issue

  • Closes:

💬 공유사항

✅ PR Checklist

PR이 다음 요구 사항을 충족하는지 확인하세요.

  • PR 제목을 커밋 메시지 컨벤션에 맞게 작성했습니다.

@1Seob 1Seob merged commit 76f663a into develop Jun 12, 2026
1 check passed
@1Seob 1Seob deleted the fix/monthly-report-delete-v1-fallback branch June 12, 2026 11:58
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.

1 participant