mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-10 03:32:52 +00:00
refactor: remove unused method
This commit is contained in:
11
src/api.ts
11
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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user