diff --git a/src/main/java/gymmi/workspace/request/VoteRequest.java b/src/main/java/gymmi/workspace/request/VoteRequest.java index eeb0925..83e929b 100644 --- a/src/main/java/gymmi/workspace/request/VoteRequest.java +++ b/src/main/java/gymmi/workspace/request/VoteRequest.java @@ -1,6 +1,7 @@ package gymmi.workspace.request; import jakarta.validation.constraints.NotBlank; +import jakarta.validation.constraints.NotNull; import lombok.Getter; import lombok.NoArgsConstructor; @@ -8,7 +9,7 @@ @NoArgsConstructor public class VoteRequest { - @NotBlank + @NotNull private Boolean willApprove; public VoteRequest(Boolean willApprove) {