Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mkondratek committed Jan 25, 2024
1 parent 8f2a4e3 commit 771ccee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/sourcegraph/cody/SubscriptionTabUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fun fetchSubscriptionPanelData(
ensureUserIdMatchInAgent(activeAccountType.id, server)
return if (activeAccountType.isDotcomAccount()) {
val codyProFeatureFlag =
server.evaluateFeatureFlag(GetFeatureFlag.CodyProJetBrains).thenApply { it == true }.get()
server.evaluateFeatureFlag(GetFeatureFlag.CodyProJetBrains).get() == true
if (codyProFeatureFlag) {
val isCurrentUserPro = getIsCurrentUserPro(server) ?: false
CompletableFuture.completedFuture(
Expand Down

0 comments on commit 771ccee

Please sign in to comment.