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

fix strateiges format for /client/applications

This commit is contained in:
ivaosthu 2016-12-05 15:40:05 +01:00 committed by Ivar Conradi Østhus
parent a959dc777d
commit 6cdffb22d0

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