Skip to content

Commit

Permalink
Feature/notary update (#38)
Browse files Browse the repository at this point in the history
* feat: update notary version to support arm macos"

* feat: fix token verification on retrieving token A

* feat: remove temp notary
  • Loading branch information
dv-rosales authored Aug 14, 2024
1 parent 79afba6 commit 17a24a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import org.springframework.boot.gradle.tasks.bundling.BootJar

plugins {
kotlin("plugin.jpa") version "1.3.72"
kotlin("jvm") version "1.3.72"
kotlin("jvm") version "1.6.21"
kotlin("plugin.spring") version "1.3.72"
kotlin("plugin.allopen") version "1.3.72"
kotlin("kapt") version "1.3.72"
Expand All @@ -28,6 +28,7 @@ configurations {
}

repositories {
mavenLocal()
jcenter()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class AdminController(private val platformRepo: PlatformRepository,
private val properties: NodeProperties) {

fun isAuthorized(authorization: String): Boolean {
return authorization == "Token ${properties.apikey}" || authorization == "Bearer ${properties.base64apiKey}"
return authorization == "Token ${properties.apikey}" || authorization == "Token ${properties.base64apiKey}"
}

@GetMapping("/connection-status/{countryCode}/{partyID}")
Expand Down

0 comments on commit 17a24a2

Please sign in to comment.