fix success response for factorio mod upload
This commit is contained in:
parent
c3ac4d0222
commit
540d1c9ed3
1 changed files with 3 additions and 1 deletions
|
|
@ -38,7 +38,9 @@ sealed interface InitUploadResponse {
|
|||
sealed interface SubmitUploadResponse {
|
||||
|
||||
@Serializable
|
||||
object Success : SubmitUploadResponse
|
||||
data class Success(
|
||||
val success: Boolean
|
||||
) : SubmitUploadResponse
|
||||
|
||||
object Serializer : JsonContentPolymorphicSerializer<SubmitUploadResponse>(
|
||||
SubmitUploadResponse::class
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue