diff --git a/backend/src/main/java/com/mdgspace/activityleaderboard/payload/request/AddOrgRequest.java b/backend/src/main/java/com/mdgspace/activityleaderboard/payload/request/AddOrgRequest.java index e436bf6..72445f4 100644 --- a/backend/src/main/java/com/mdgspace/activityleaderboard/payload/request/AddOrgRequest.java +++ b/backend/src/main/java/com/mdgspace/activityleaderboard/payload/request/AddOrgRequest.java @@ -20,7 +20,6 @@ public class AddOrgRequest implements Serializable { @Size(min=3,max=15) private String name; - @NotBlank @Size(min=5, max=30) private String description; } diff --git a/backend/src/main/java/com/mdgspace/activityleaderboard/payload/request/AddProjectRequest.java b/backend/src/main/java/com/mdgspace/activityleaderboard/payload/request/AddProjectRequest.java index 060fc81..dc6842c 100644 --- a/backend/src/main/java/com/mdgspace/activityleaderboard/payload/request/AddProjectRequest.java +++ b/backend/src/main/java/com/mdgspace/activityleaderboard/payload/request/AddProjectRequest.java @@ -16,7 +16,7 @@ public class AddProjectRequest implements Serializable{ @Size(min=3,max=10) private String name; - @NotBlank + @Size(min=5,max=30) private String description;