Skip to content

Commit 9f3d384

Browse files
author
yuhojae
committed
refactor : 가상친구 이름 null 시 오류
1 parent e693bfb commit 9f3d384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/main/java/com/mbtips/domain/virtualfriend/request/VirtualFriendRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
@JsonIgnoreProperties(ignoreUnknown = true)
1919
public record VirtualFriendRequest(
2020

21-
@Column(nullable = false)
21+
@NotBlank(message = "friendName은 필수입니다.")
2222
String friendName,
2323

2424
int age,

0 commit comments

Comments
 (0)