Skip to content

Commit 7bf5805

Browse files
committed
fix: ensure image payload matches API spec
1 parent 797ec63 commit 7bf5805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/ctrlhub/core/media/request/CreateImagePayload.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import kotlinx.serialization.Serializable
44

55
@Serializable
66
data class CreateImagePayload(
7-
val type: String = "images",
87
val data: CreateImagePayloadData
98
)
109

1110
@Serializable
1211
data class CreateImagePayloadData(
12+
val type: String = "images",
1313
val attributes: CreateImagePayloadAttributes
1414
)
1515

0 commit comments

Comments
 (0)