Skip to content

Commit

Permalink
Merge pull request #76 from Favor-Gift-Reminder/eunki/#75
Browse files Browse the repository at this point in the history
[Fix] 임시 리스트 생성
  • Loading branch information
Juser0 authored Nov 10, 2023
2 parents b302886 + 9166e55 commit 8201277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion favor/src/main/java/com/favor/favor/gift/GiftService.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void updateGift(GiftUpdateRequestDto dto, Gift gift){
gift.setIsGiven(dto.getIsGiven());
gift.setGiftDate(returnLocalDate(dto.getGiftDate()));

List<Long> existingFriendNoList = gift.getFriendNoList();
List<Long> existingFriendNoList = new ArrayList<>(gift.getFriendNoList());
List<Long> updatedFriendNoList = dto.getFriendNoList();

//친구 목록 수정 시
Expand Down

0 comments on commit 8201277

Please sign in to comment.