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

[FIX] 커뮤니티 게시글 삭제 API에서 response body가 없는 상황 대응 #955

Closed
1 task done
kimhyeing opened this issue Aug 7, 2024 · 0 comments · Fixed by #956
Closed
1 task done
Assignees
Labels
FIX 버그, 오류 해결 HYEIN💛 혜인

Comments

@kimhyeing
Copy link
Member

kimhyeing commented Aug 7, 2024

📝 DESCRIPTION

  • Date : 2024.08.07

☑ TODO

  • 스웨거에는 명시되어있어 BasicResponse로 리턴 타입을 명시해놓았으나 삭제 성공(204)에 대해서 response body가 들어오지 않아
    Response from org.sopt.havit.data.api.HavitApi.deleteCommunityPost was null but response body type was declared as non-null
    위와 같은 오류가 떴음. 따라서 리턴 타입을 Response<Unit> 으로 변경
    참고 링크
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FIX 버그, 오류 해결 HYEIN💛 혜인
Projects
Development

Successfully merging a pull request may close this issue.

1 participant