Remove bad assignment

This commit is contained in:
Daniel García Aubert 2018-02-22 13:27:50 +01:00
parent e4067132b0
commit 8c3b9fa05b

View File

@ -32,9 +32,6 @@ UserDatabaseService.prototype.getConnectionParams = function (cdbUsername, apike
pass: global.settings.db_pubuser_pass 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( step(
function getDatabaseConnectionParams() { function getDatabaseConnectionParams() {
self.metadataBackend.getAllUserDBParams(cdbUsername, this); self.metadataBackend.getAllUserDBParams(cdbUsername, this);
@ -62,8 +59,6 @@ UserDatabaseService.prototype.getConnectionParams = function (cdbUsername, apike
return next(null, dbopts, dbParams); return next(null, dbopts, dbParams);
} }
dbParams.apikey = apikeyToken;
next(null, dbopts, dbParams, apikey); next(null, dbopts, dbParams, apikey);
}); });
}, },