feat: integrate with codeberg

This commit is contained in:
Andrea Lamparelli 2023-08-18 13:05:22 +02:00
parent eecbff34b7
commit 11c521f02d
11 changed files with 72 additions and 25 deletions

View file

@ -43,6 +43,9 @@ export default class GitClientFactory {
case GitClientType.GITLAB:
GitClientFactory.instance = new GitLabClient(authToken, apiUrl);
break;
case GitClientType.CODEBERG:
GitClientFactory.instance = new GitHubService(authToken, apiUrl);
break;
default:
throw new Error(`Invalid git service type received: ${type}`);
}