Skip to content

Commit

Permalink
Merge pull request #1735 from guardian/default-pinboard-feature-switc…
Browse files Browse the repository at this point in the history
…h-ON

default pinboard feature switch to ON in all envs
  • Loading branch information
twrichards authored Nov 25, 2024
2 parents d5b1f2e + dfe5004 commit b07d224
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app/controllers/V2App.scala
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ class V2App(
isDev,
maybePinboardUrl = pinboardPermission match {
case AccessGranted
if config.environment.stage != "prod" || maybePinboardFeatureSwitch
.exists(_.enabled) =>
if maybePinboardFeatureSwitch.exists(_.enabled) =>
Some(
s"https://pinboard.${config.environment.correspondingToolsDomainSuffix}/pinboard.loader.js"
)
Expand Down
2 changes: 1 addition & 1 deletion app/model/FeatureSwitches.scala
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ object PinboardIntegration
extends FeatureSwitch(
key = "pinboard",
title = "Enable Pinboard integration",
enabled = false
enabled = true
)

object FeatureSwitches {
Expand Down

0 comments on commit b07d224

Please sign in to comment.