Skip to content

Commit

Permalink
fix: correct ImageData according to the API update
Browse files Browse the repository at this point in the history
Closes #86
  • Loading branch information
Samarium150 committed Nov 15, 2022
1 parent 3df1bd7 commit a722f33
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

group = "io.github.samarium150"
version = "6.0.6"
version = "6.0.7"

repositories {
mavenCentral()
Expand Down
3 changes: 2 additions & 1 deletion src/main/kotlin/MiraiConsoleLolicon.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import java.net.Proxy
object MiraiConsoleLolicon : KotlinPlugin(
JvmPluginDescription(
id = "io.github.samarium150.mirai.plugin.mirai-console-lolicon",
version = "6.0.6",
version = "6.0.7",
name = "Lolicon"
) {
author("Samarium150")
Expand Down Expand Up @@ -65,6 +65,7 @@ object MiraiConsoleLolicon : KotlinPlugin(
json(Json {
prettyPrint = true
isLenient = true
ignoreUnknownKeys = true
})
}
install(HttpTimeout) {
Expand Down
1 change: 1 addition & 0 deletions src/main/kotlin/data/ImageData.kt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ data class ImageData(
val height: Int,
val tags: List<String>,
val ext: String,
val aiType: Int,
val uploadDate: Long,
val urls: Map<String, String>
) {
Expand Down

0 comments on commit a722f33

Please sign in to comment.