Skip to content

Commit

Permalink
Update ClusterUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
WinG4merBR committed Jan 22, 2025
1 parent b766288 commit f33857b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>
Expand Down

0 comments on commit f33857b

Please sign in to comment.