Remove bad assignment
This commit is contained in:
parent
e4067132b0
commit
8c3b9fa05b
@ -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);
|
||||
});
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user