Skip to content

Commit

Permalink
hotfix: Profile Image가 null 일 때 timestamp 안붙도록 처리 (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdomo authored Jan 23, 2024
1 parent c608c93 commit 19097da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/depromeet/domain/member/domain/Profile.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ public static Profile createProfile(String nickname, String profileImageUrl) {

// TODO: 이미지 업로드 로직 개선후 timestamp 제거
public String getProfileImageUrl() {
if (profileImageUrl == null) {
return null;
}
return profileImageUrl + "?timestamp=" + System.currentTimeMillis();
}
}

0 comments on commit 19097da

Please sign in to comment.