Skip to content

Commit

Permalink
allow bearer token to be null
Browse files Browse the repository at this point in the history
  • Loading branch information
Dawsson committed May 30, 2024
1 parent 88844cf commit d94d4f7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion keyforge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins {
}

group = "cloud.keyforge"
version = "0.0.3"
version = "0.0.4"

dependencies {
implementation("org.apache.commons:commons-text")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ object KeyforgeAPI : KeyforgeClient() {
): T {
val client = HttpClient.newHttpClient()
val bearerToken = accountToken ?: this.accountToken
?: throw NullPointerException("No account cloud.keyforge.common.types.API key provided")

val request = getRequest(
method,
Expand Down

0 comments on commit d94d4f7

Please sign in to comment.