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

리뷰/채팅방 수정 #73

Merged
merged 3 commits into from
Jan 26, 2025
Merged

리뷰/채팅방 수정 #73

merged 3 commits into from
Jan 26, 2025

Conversation

ws11222
Copy link
Collaborator

@ws11222 ws11222 commented Jan 26, 2025

📌 Pull Request Template

✨ 주요 변경 사항

  • 백엔드: 리뷰 및 채팅방 수정

📋 작업 내용

추가/변경된 내용

  • ChatRoomResponse 변경
  • 리뷰 포스팅/가져오기 변경

작업 상세 설명

  1. ChatRoomResponse:
data class ChatRoomResponse(
    val article: Article,
    val messages: List<ChatMessage>,
)

에서

data class ChatRoomResponse(
    val chatRoom: ChatRoom,
    val messages: List<ChatMessage>,
)

로 변경

  1. 리뷰 포스팅 수정: 경로를 /api/review/post,
    요청을
data class ReviewCreateRequest(
    val content: String,
    val location: String,
    val isWritedByBuyer: Boolean,
    val sellerId: String,
    val buyerId: String,
)

로 변경. 개인의 프로필엔티티에 자신이 받은 리뷰만 저장되게 변경

  1. 리뷰 가져오기(목록) 변경: 프로필서비스에서 처리

✅ 체크리스트

  • 코드가 잘 빌드됨
  • Linter
  • 모든 테스트 통과

@ws11222 ws11222 merged commit 40fbffe into main Jan 26, 2025
4 checks passed
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