Skip to content

Commit

Permalink
feat: 네고 상태 타임아웃시에 구매중 내역에 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Su-daa committed Jan 25, 2024
1 parent 0db5ecc commit fe5b150
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public List<PurchaseProgressResponse> getPurchaseProgressHistory(PrincipalDetail

if (!userNego.isEmpty()) {
for (Nego nego : userNego) {
if (nego.getStatus() == NegotiationStatus.NEGOTIATING) {
if (nego.getStatus() == NegotiationStatus.NEGOTIATING || nego.getStatus() == NegotiationStatus.NEGOTIATION_TIMEOUT) {
Product product = productService.getProduct(nego.getProductId());
User user = userService.findById(product.getUserId());
ChatRoom chatRoom = chatService.getChatRoomByBuyerIdAndProductId(userId, product.getId());
Expand Down

0 comments on commit fe5b150

Please sign in to comment.