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

View file

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