Skip to content

Commit

Permalink
Using v5.1.0 for Glossary endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
simonredfern committed Oct 27, 2023
1 parent d4001f0 commit fa7d23f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/code/lib/ObpAPI.scala
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ object ObpAPI extends Loggable {
var cacheKey = (randomUUID().toString, randomUUID().toString, randomUUID().toString)
CacheKeyFromArguments.buildCacheKey {
Caching.memoizeSyncWithProvider(Some(cacheKey.toString()))(getGlossaryItemsJsonTTL) {
ObpGet(s"$obpPrefix/v3.0.0/api/glossary").flatMap(_.extractOpt[GlossaryItemsJsonV300])
ObpGet(s"$obpPrefix/v5.1.0/api/glossary").flatMap(_.extractOpt[GlossaryItemsJsonV300])
}
}
}
Expand Down

0 comments on commit fa7d23f

Please sign in to comment.