From 8c3b9fa05b16814338b6bb21a2bd88db1dca1732 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Thu, 22 Feb 2018 13:27:50 +0100 Subject: [PATCH] Remove bad assignment --- app/services/user_database_service.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/services/user_database_service.js b/app/services/user_database_service.js index d2027197..d2b9f9ed 100644 --- a/app/services/user_database_service.js +++ b/app/services/user_database_service.js @@ -32,9 +32,6 @@ UserDatabaseService.prototype.getConnectionParams = function (cdbUsername, apike pass: global.settings.db_pubuser_pass }; - // 1. Get database from redis via the username stored in the host header subdomain - // 2. Run the request through OAuth to get R/W user id if signed - // 3. Set to user authorization params step( function getDatabaseConnectionParams() { self.metadataBackend.getAllUserDBParams(cdbUsername, this); @@ -62,8 +59,6 @@ UserDatabaseService.prototype.getConnectionParams = function (cdbUsername, apike return next(null, dbopts, dbParams); } - dbParams.apikey = apikeyToken; - next(null, dbopts, dbParams, apikey); }); },