diff --git a/Client/httpInterface.js b/Client/httpInterface.js index ac7638269..e11382dee 100644 --- a/Client/httpInterface.js +++ b/Client/httpInterface.js @@ -1210,8 +1210,7 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE const repository = 'Superalgos' const username = unescape(requestParameters[4]) const token = unescape(requestParameters[5]) - const currentBranch = unescape(requestParameters[6]) - const contributionsBranch = unescape(requestParameters[7]) + let error let githubPrListArray = [] diff --git a/Projects/Governance/UI/Spaces/User-Profile-Space/UserProfile.js b/Projects/Governance/UI/Spaces/User-Profile-Space/UserProfile.js index 41cff0cb3..55723d405 100644 --- a/Projects/Governance/UI/Spaces/User-Profile-Space/UserProfile.js +++ b/Projects/Governance/UI/Spaces/User-Profile-Space/UserProfile.js @@ -37,7 +37,7 @@ function newGovernanceUserProfileSpace() { If the workspace is not related to governance, then we exit the Intialize Function */ let resultsArary = UI.projects.foundations.spaces.designSpace.workspace.getHierarchyHeadsByNodeType('User Profile') - if (resultsArary.length === 0) { return } + if (resultsArary.length === 0 || resultsArary.length === 1) { return } /* Find the Username and Password */ @@ -65,7 +65,7 @@ function newGovernanceUserProfileSpace() { return } - //requestStars() + requestStars() function requestStars() { httpRequest(