We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ContentType
1 parent c36d7e6 commit acf0ea9Copy full SHA for acf0ea9
foxy/src/main/kotlin/net/cakeyfox/foxy/utils/analytics/TopggStatsSender.kt
@@ -91,7 +91,7 @@ class TopggStatsSender(
91
return withContext(Dispatchers.IO) {
92
val response = foxy.httpClient.post("https://top.gg/api/bots/$clientId/stats") {
93
header("Authorization", token)
94
- accept(ContentType.Application.Json)
+ contentType(ContentType.Application.Json)
95
setBody(buildJsonObject {
96
put("server_count", serverCount)
97
put("shard_count", foxy.config.discord.totalShards)
0 commit comments