Fixed MAL login when user does not set MAL photo (#942)

This commit is contained in:
Ayra Hikari 2022-04-12 18:24:16 +07:00 committed by GitHub
parent 06b778eac2
commit 970a68f47b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -663,7 +663,7 @@ class MALApi(index: Int) : AccountManager(index), SyncAPI {
@JsonProperty("name") val name: String,
@JsonProperty("location") val location: String,
@JsonProperty("joined_at") val joined_at: String,
@JsonProperty("picture") val picture: String,
@JsonProperty("picture") val picture: String?,
)
data class MalMainPicture(
@ -694,4 +694,4 @@ class MALApi(index: Int) : AccountManager(index), SyncAPI {
val id: Int,
val name: String,
)
}
}