Skip to content

Commit

Permalink
feat(rpc): animated dantotsu icon
Browse files Browse the repository at this point in the history
  • Loading branch information
aayush2622 committed Nov 2, 2024
1 parent 545abf1 commit cddad8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ object Discord {

const val application_Id = "1163925779692912771"
const val small_Image: String =
"mp:external/GJEe4hKzr8w56IW6ZKQz43HFVEo8pOtA_C-dJiWwxKo/https/cdn.discordapp.com/app-icons/1163925779692912771/f6b42d41dfdf0b56fcc79d4a12d2ac66.png"
"mp:external/9NqpMxXs4ZNQtMG42L7hqINW92GqqDxgxS9Oh0Sp880/%3Fsize%3D48%26quality%3Dlossless%26name%3DDantotsu/https/cdn.discordapp.com/emojis/1167344924874784828.gif"
const val small_Image_AniList: String =
"mp:external/ORoccmSwMX55y1BUmiwf7OH9IlnztoO0MDpsGQnibpw/https/anilist.co/img/icons/icon.svg"
}
10 changes: 1 addition & 9 deletions app/src/main/java/ani/dantotsu/others/Kitsu.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,10 @@ object Kitsu {
val headers = mapOf(
"Content-Type" to "application/json",
"Accept" to "application/json",
"Accept-Encoding" to "gzip, deflate",
"Accept-Language" to "en-US,en;q=0.5",
"Host" to "kitsu.app",
"Connection" to "keep-alive",
"Origin" to "https://kitsu.app",
"Sec-Fetch-Dest" to "empty",
"Sec-Fetch-Mode" to "cors",
"Sec-Fetch-Site" to "cross-site",
)
val response = tryWithSuspend {
val res = client.post(
"https://kitsu.app/api/graphql",
"https://kitsu.io/api/graphql",
headers,
data = mapOf("query" to query)
)
Expand Down

0 comments on commit cddad8e

Please sign in to comment.