forked from recloudstream/cloudstream
Fixed MAL login when user does not set MAL photo (#942)
This commit is contained in:
parent
06b778eac2
commit
970a68f47b
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue