1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-04-19 01:17:18 +02:00

fix: default featureSearchFeedback to false (#6137)

We need to turn it false, because if it is true, it will not get any
variants.

This solution is hacky, but good for now.
This commit is contained in:
Jaanus Sellin 2024-02-06 17:10:27 +02:00 committed by GitHub
parent cc060b7a4c
commit b45f7be680
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ exports[`should create default config 1`] = `
"extendedUsageMetrics": false, "extendedUsageMetrics": false,
"extendedUsageMetricsUI": false, "extendedUsageMetricsUI": false,
"featureSearchFeedback": { "featureSearchFeedback": {
"enabled": true, "enabled": false,
"name": "withText", "name": "withText",
"payload": { "payload": {
"type": "json", "type": "json",

View File

@ -162,7 +162,7 @@ const flags: IFlags = {
name: 'withText', name: 'withText',
enabled: parseEnvVarBoolean( enabled: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_FEATURE_SEARCH_FEEDBACK, process.env.UNLEASH_EXPERIMENTAL_FEATURE_SEARCH_FEEDBACK,
true, false,
), ),
payload: { payload: {
type: PayloadType.JSON, type: PayloadType.JSON,