diff --git a/src/main/java/com/kusitms/jipbap/user/UserAddressService.java b/src/main/java/com/kusitms/jipbap/user/UserAddressService.java index 07eab89..0ab702f 100644 --- a/src/main/java/com/kusitms/jipbap/user/UserAddressService.java +++ b/src/main/java/com/kusitms/jipbap/user/UserAddressService.java @@ -99,6 +99,7 @@ private void setUserData(User user, GlobalRegion globalRegion, UserAddressReques user.setAddress(dto.getAddress()); user.setDetailAddress(dto.getDetailAddress()); user.setPostalCode(dto.getPostalCode()); + user.setFcmToken(dto.getFcmToken()); } private PostalAddressDto findPostalAddress(GeocodingAddressDto geocodingAddressDto) { diff --git a/src/main/java/com/kusitms/jipbap/user/dto/address/UserAddressRequest.java b/src/main/java/com/kusitms/jipbap/user/dto/address/UserAddressRequest.java index 77692bb..077210b 100644 --- a/src/main/java/com/kusitms/jipbap/user/dto/address/UserAddressRequest.java +++ b/src/main/java/com/kusitms/jipbap/user/dto/address/UserAddressRequest.java @@ -15,4 +15,5 @@ public class UserAddressRequest { String address; String detailAddress; String postalCode; + String fcmToken; }