Skip to content

Commit

Permalink
Fix: thumbnails
Browse files Browse the repository at this point in the history
  • Loading branch information
aayush2622 authored Aug 28, 2024
1 parent 6a077fa commit f0536b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/ani/dantotsu/others/Anify.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import kotlinx.serialization.json.decodeFromJsonElement

object Anify {
suspend fun fetchAndParseMetadata(id :Int): Map<String, Episode> {
val response = client.get("https://api.anify.tv/content-metadata/$id")
val response = client.get("https://anify.eltik.cc/content-metadata/$id")
.parsed<JsonArray>().map {
Mapper.json.decodeFromJsonElement<AnifyElement>(it)
}
Expand Down Expand Up @@ -43,4 +43,4 @@ object Anify {
val updatedAt: Long? = null,
val rating: Double? = null
)
}
}

0 comments on commit f0536b3

Please sign in to comment.