Corrects the type of field validation when reviewing a photo

This commit is contained in:
2026-05-18 11:43:26 -05:00
parent 8ff73cda2b
commit 4049dbbdaa

View File

@@ -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
)