Skip to content

Commit

Permalink
Improve the user agent string.
Browse files Browse the repository at this point in the history
  • Loading branch information
wparad committed Aug 24, 2023
1 parent a5fe997 commit a63a594
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ open class ApiClient(val baseUrl: String) {

headers.forEach { header -> request = request.addHeader(header.key, header.value.toString()) }

request = request.addHeader("User-Agent", "Kotlin AuthressSDK version: unset")
request = request.addHeader("User-Agent", "Authress SDK; Kotlin; ;")
val token = tokenProvider.resolveToken()
if (token != null) {
request = request.addHeader("Authorization", "Bearer $token")
Expand Down

0 comments on commit a63a594

Please sign in to comment.