1
0
370774330@qq.com 5 лет назад
Родитель
Сommit
35b3f51435
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      web/src/main/java/cn/seecoder/web/controller/gitlab/CommitController.java

+ 2 - 2
web/src/main/java/cn/seecoder/web/controller/gitlab/HookController.java → web/src/main/java/cn/seecoder/web/controller/gitlab/CommitController.java

@@ -27,7 +27,7 @@ import java.util.List;
  */
  */
 @Api(tags = "GitLab Hook API")
 @Api(tags = "GitLab Hook API")
 @RestController
 @RestController
-public class HookController {
+public class CommitController {
 
 
     private final BugListService bugListService;
     private final BugListService bugListService;
 
 
@@ -38,7 +38,7 @@ public class HookController {
     private final SeecoderGitlabApi seecoderGitlabApi;
     private final SeecoderGitlabApi seecoderGitlabApi;
 
 
     @Autowired
     @Autowired
-    public HookController(BugListService bugListService, TreeNodeService treeNodeService, CommitService commitService, SeecoderGitlabApi seecoderGitlabApi) {
+    public CommitController(BugListService bugListService, TreeNodeService treeNodeService, CommitService commitService, SeecoderGitlabApi seecoderGitlabApi) {
         this.bugListService = bugListService;
         this.bugListService = bugListService;
         this.treeNodeService = treeNodeService;
         this.treeNodeService = treeNodeService;
         this.commitService = commitService;
         this.commitService = commitService;