Missing "username" parameter when calling getClientForOrg() function from getRegisteredUser() function.
This commit is contained in:
Deepak Bansal 2018-08-20 16:47:05 +05:30 committed by GitHub
parent 4c2ac0dbf3
commit d53f331f6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,7 +73,7 @@ async function getClientForOrg (userorg, username) {
var getRegisteredUser = async function(username, userOrg, isJson) {
try {
var client = await getClientForOrg(userOrg);
var client = await getClientForOrg(userOrg, username);
logger.debug('Successfully initialized the credential stores');
// client can now act as an agent for organization Org1
// first check to see if the user is already enrolled