diff --git a/foxy/src/main/kotlin/net/cakeyfox/foxy/utils/ClusterUtils.kt b/foxy/src/main/kotlin/net/cakeyfox/foxy/utils/ClusterUtils.kt index 5600add1..cc18ffd9 100644 --- a/foxy/src/main/kotlin/net/cakeyfox/foxy/utils/ClusterUtils.kt +++ b/foxy/src/main/kotlin/net/cakeyfox/foxy/utils/ClusterUtils.kt @@ -47,7 +47,7 @@ object ClusterUtils { foxy.httpClient.get { url(cluster.clusterUrl + "/api/v1/guilds/$guildId/users/$memberId/roles") header("Content-Type", "application/json") - header("Authorization", foxy.config.others.internalApi.key) + header("Authorization", "Bearer ${foxy.config.others.internalApi.key}") } }.let { val roles = json.decodeFromString(it.bodyAsText()) as List