Fixing the condition for organization name being empty
This commit is contained in:
parent
26da9ce60b
commit
d087b8152d
|
|
@ -24,9 +24,7 @@ public class Organization extends BaseDomain {
|
|||
|
||||
private String domain;
|
||||
|
||||
@NotEmpty(message = "Name must not be empty")
|
||||
@NotBlank(message = "Name must not be blank")
|
||||
@NotNull(message = "Name is mandatory")
|
||||
@NotBlank(message = "Name is mandatory")
|
||||
private String name;
|
||||
|
||||
private String website;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user