refactor: remove unused method

This commit is contained in:
Karl-Philipp Wulfert
2019-02-05 15:44:58 +01:00
parent 203700a16d
commit e4cf8dac78

View File

@@ -85,17 +85,6 @@ export class Api {
*/
private readonly rootUrl: string;
/**
* Get project path from issue
*
* @param issue Issue to get project from
*/
static getProjectPath(issue: any): string {
const issuePath = issue.web_url.replace('https://gitlab.tubit.tu-berlin.de/', '');
return issuePath.substring(0, issuePath.indexOf('/issues/'));
}
/**
* Instantiate new GitLab API
*