File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed
src/main/java/com/memesphere/domain Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public ApiResponse<String> getProfile(@AuthenticationPrincipal CustomUserDetails
4343 // 현재 로그인한 유저 정보에서 프로필 이미지 가져오기
4444 String profileImage = profileService .getProfileImage (customUserDetails );
4545
46- return ApiResponse .onSuccess (( profileImage == null || profileImage . isEmpty ()) ? "null" : profileImage );
46+ return ApiResponse .onSuccess (profileImage );
4747 }
4848
4949}
Original file line number Diff line number Diff line change 11package com .memesphere .domain .image .service ;
22
33import com .memesphere .domain .user .entity .User ;
4- import com .memesphere .domain .user .repository .UserRepository ;
54import com .memesphere .global .apipayload .code .status .ErrorStatus ;
65import com .memesphere .global .apipayload .exception .GeneralException ;
76import com .memesphere .global .jwt .CustomUserDetails ;
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ public class SignUpRequest {
3030 @ Schema (description = "사용자 생년월일" , example = "20001010" )
3131 String birth ;
3232
33+ @ NotEmpty
3334 @ Schema (description = "프로필 이미지" , example = "http://umc..jpg" )
3435 String profileImage ;
3536}
You can’t perform that action at this time.
0 commit comments