mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-28 00:17:12 +01:00
fix strateiges format for /client/applications
This commit is contained in:
parent
421a6413bf
commit
e58bf41b91
@ -52,10 +52,10 @@ class ClientStrategyStore {
|
|||||||
|
|
||||||
getByAppName (appName) {
|
getByAppName (appName) {
|
||||||
return this.db
|
return this.db
|
||||||
.select(COLUMNS)
|
.select('strategies')
|
||||||
.where('app_name', appName)
|
.where('app_name', appName)
|
||||||
.from(TABLE)
|
.from(TABLE)
|
||||||
.map(mapRow);
|
.map((row) => row.strategies);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user