Skip to content

Commit 25b7232

Browse files
committed
fix: allow nullable vehicle colour
1 parent e87486c commit 25b7232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/ctrlhub/core/assets/vehicles/response/VehiclesResponse.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import com.github.jasminb.jsonapi.annotations.Type
1111
class Vehicle {
1212
@Id(StringIdHandler::class)
1313
var id: String = ""
14-
var colour: String = ""
14+
var colour: String? = null
1515
var description: String? = null
1616
var registration: String = ""
1717
var status: String = ""

0 commit comments

Comments
 (0)