mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-10 17:53:36 +02:00
fix: allow client api to return impressionData
This commit is contained in:
parent
55e535975c
commit
165d2eae80
@ -74,6 +74,7 @@ export default class FeatureToggleClientStore
|
|||||||
'features.type as type',
|
'features.type as type',
|
||||||
'features.project as project',
|
'features.project as project',
|
||||||
'features.stale as stale',
|
'features.stale as stale',
|
||||||
|
'features.impression_data as impression_data',
|
||||||
'features.variants as variants',
|
'features.variants as variants',
|
||||||
'features.created_at as created_at',
|
'features.created_at as created_at',
|
||||||
'features.last_seen_at as last_seen_at',
|
'features.last_seen_at as last_seen_at',
|
||||||
@ -137,6 +138,7 @@ export default class FeatureToggleClientStore
|
|||||||
if (r.strategy_name) {
|
if (r.strategy_name) {
|
||||||
feature.strategies.push(this.getAdminStrategy(r, isAdmin));
|
feature.strategies.push(this.getAdminStrategy(r, isAdmin));
|
||||||
}
|
}
|
||||||
|
feature.impressionData = r.impression_data;
|
||||||
feature.enabled = !!r.enabled;
|
feature.enabled = !!r.enabled;
|
||||||
feature.name = r.name;
|
feature.name = r.name;
|
||||||
feature.description = r.description;
|
feature.description = r.description;
|
||||||
|
Loading…
Reference in New Issue
Block a user