diff --git a/src/main/kotlin/net/halfbinary/scavengerhuntapi/model/request/ReviewPhotoRequest.kt b/src/main/kotlin/net/halfbinary/scavengerhuntapi/model/request/ReviewPhotoRequest.kt index 9fce8a8..7255e7c 100644 --- a/src/main/kotlin/net/halfbinary/scavengerhuntapi/model/request/ReviewPhotoRequest.kt +++ b/src/main/kotlin/net/halfbinary/scavengerhuntapi/model/request/ReviewPhotoRequest.kt @@ -1,9 +1,9 @@ package net.halfbinary.scavengerhuntapi.model.request -import jakarta.validation.constraints.NotBlank +import jakarta.validation.constraints.NotNull import net.halfbinary.scavengerhuntapi.model.PhotoStatus data class ReviewPhotoRequest( - @field:NotBlank(message = "Status must not be blank") + @field:NotNull(message = "Status must not be null") val status: PhotoStatus ) \ No newline at end of file