1
0
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:
ivaosthu 2016-12-05 15:40:05 +01:00
parent 421a6413bf
commit e58bf41b91

View File

@ -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);
} }
}; };