From 6cdffb22d04385cc104b9571dcf0eb786116cdb4 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Mon, 5 Dec 2016 15:40:05 +0100 Subject: [PATCH] fix strateiges format for /client/applications --- lib/db/client-strategy-store.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/db/client-strategy-store.js b/lib/db/client-strategy-store.js index 0f59648cfe..d77edff1a4 100644 --- a/lib/db/client-strategy-store.js +++ b/lib/db/client-strategy-store.js @@ -52,10 +52,10 @@ class ClientStrategyStore { getByAppName (appName) { return this.db - .select(COLUMNS) + .select('strategies') .where('app_name', appName) .from(TABLE) - .map(mapRow); + .map((row) => row.strategies); } };