diff --git a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/service/user/profile/impl/UserRunProfileServiceImpl.java b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/service/user/profile/impl/UserRunProfileServiceImpl.java index f10f31bf..95759ee1 100644 --- a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/service/user/profile/impl/UserRunProfileServiceImpl.java +++ b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/service/user/profile/impl/UserRunProfileServiceImpl.java @@ -233,7 +233,7 @@ public class UserRunProfileServiceImpl implements UserRunProfileService { CollectionUtils.newArrayList() ); } - if (CollectionUtils.isNotEmpty(userRunProfile.getPersonalPhotos())) { + if (userRunProfile.getPersonalPhotos() != null) { update.set("personalPhotos", CollectionUtils.isNotEmpty(userRunProfile.getPersonalPhotos()) ? userRunProfile.getPersonalPhotos() : CollectionUtils.newArrayList() );