static sendGitHubUsernameToProjectService(projectServiceURL, system) {
    if(GitHub.gitHubUsernameStored()) {
      const username = GitHub.getGitHubUsername();
      fetch(projectServiceURL + "/projects/" + system + "/user/githubinfo", {
        method: "POST",
        headers: Auth.getAuthHeaderWithSub(),
        body: JSON.stringify({
          "gitHubUsername": username
        })
      });
    }
  }
/**
   * Sends the GitHub username (that is stored in localStorage) to the project-service.
   * @param projectServiceURL URL of the project service webconnector.
   * @param system Name of the system.
   */
Sends the GitHub username (that is stored in localStorage) to the project-service.
@param projectServiceURL URL of the project service webconnector.
@param system Name of the system.
Sends the GitHub username ( that is stored in localStorage ) to the project - service . @param projectServiceURL URL of the project service webconnector . @param system Name of the system .
static sendGitHubUsernameToProjectService(projectServiceURL, system) {
    if(GitHub.gitHubUsernameStored()) {
      const username = GitHub.getGitHubUsername();
      fetch(projectServiceURL + "/projects/" + system + "/user/githubinfo", {
        method: "POST",
        headers: Auth.getAuthHeaderWithSub(),
        body: JSON.stringify({
          "gitHubUsername": username
        })
      });
    }
  }
static sendGitHubUsernameToProjectService ( projectServiceURL , system ) { if ( GitHub . gitHubUsernameStored ( ) ) { const username = GitHub . getGitHubUsername ( ) ; fetch ( projectServiceURL + "/projects/" + system + "/user/githubinfo" , { method : "POST" , headers : Auth . getAuthHeaderWithSub ( ) , body : JSON . stringify ( { "gitHubUsername" : username } ) } ) ; } }
Sends the GitHub username (that is stored in localStorage) to the project-service.
Sends the GitHub username ( that is stored in localStorage ) to the project - service .