Fix #253 / Image with no mimetype in info

This commit is contained in:
Valere 2019-07-01 15:10:12 +02:00
parent 0d433b2620
commit 9224fcabfa
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ import com.squareup.moshi.JsonClass

@JsonClass(generateAdapter = true)
data class ImageInfo(
@Json(name = "mimetype") val mimeType: String,
@Json(name = "mimetype") val mimeType: String?,
@Json(name = "w") val width: Int = 0,
@Json(name = "h") val height: Int = 0,
@Json(name = "size") val size: Int = 0,