From 4049dbbdaad84881e02a51260d69ad3d9b1c35b2 Mon Sep 17 00:00:00 2001 From: aarbit Date: Mon, 18 May 2026 11:43:26 -0500 Subject: [PATCH] Corrects the type of field validation when reviewing a photo --- .../scavengerhuntapi/model/request/ReviewPhotoRequest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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