diff --git a/lib/db/client-strategy-store.js b/lib/db/client-strategy-store.js index d77edff1a4..35287ffa52 100644 --- a/lib/db/client-strategy-store.js +++ b/lib/db/client-strategy-store.js @@ -55,7 +55,8 @@ class ClientStrategyStore { .select('strategies') .where('app_name', appName) .from(TABLE) - .map((row) => row.strategies); + .map((row) => row.strategies) + .then(arr => arr[0]) } };