|
|
@@ -14,8 +14,8 @@ public class GitlabService {
|
|
|
|
|
|
private final SeecoderGitlabClient client;
|
|
|
|
|
|
- public GitlabService(@Value("${seec.gitlab.url}") String url) {
|
|
|
- this.client = new SeecoderGitlabClient(url, "");
|
|
|
+ public GitlabService(@Value("${seec.gitlab.url}") String url, @Value("${seec.gitlab.token}") String token) {
|
|
|
+ this.client = new SeecoderGitlabClient(url, token);
|
|
|
}
|
|
|
|
|
|
public GitlabUserVO createGitlabUser(int userId, String username, String password, String email) throws SeecoderGitlabException {
|