diff --git a/src/api.ts b/src/api.ts index 5debb68d..b86cb0d0 100644 --- a/src/api.ts +++ b/src/api.ts @@ -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 *