Skip to content

Commit 4794e28

Browse files
committed
Fix compilation errors
1 parent 9a92ec3 commit 4794e28

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

src/main/scala/gitbucket/notifications/controller/NotificationsController.scala

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package gitbucket.notifications.controller
22

33
import gitbucket.core.controller.ControllerBase
4-
import gitbucket.core.service.{AccountService, IssuesService, RepositoryService}
4+
import gitbucket.core.service._
55
import gitbucket.core.util.Implicits._
66
import gitbucket.core.util.{OneselfAuthenticator, ReadableUsersAuthenticator}
77
import gitbucket.core.util.SyntaxSugars._
@@ -10,7 +10,8 @@ import gitbucket.notifications.service.NotificationsService
1010
import org.scalatra.Ok
1111

1212
class NotificationsController extends NotificationsControllerBase
13-
with NotificationsService with RepositoryService with AccountService with IssuesService
13+
with NotificationsService with RepositoryService with AccountService
14+
with IssuesService with LabelsService with PrioritiesService with MilestonesService
1415
with ReadableUsersAuthenticator with OneselfAuthenticator
1516

1617
trait NotificationsControllerBase extends ControllerBase {

src/main/scala/gitbucket/notifications/service/NotificationsHook.scala

+4-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ class IssueHook extends gitbucket.core.plugin.IssueHook
5656
with NotificationsService
5757
with RepositoryService
5858
with AccountService
59-
with IssuesService {
59+
with IssuesService
60+
with LabelsService
61+
with PrioritiesService
62+
with MilestonesService {
6063

6164
private val logger = LoggerFactory.getLogger(classOf[IssueHook])
6265

Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
package gitbucket.notifications.view
22

3-
import gitbucket.core.service.{AccountService, IssuesService, RepositoryService}
3+
import gitbucket.core.service._
44
import gitbucket.notifications.service.NotificationsService
55

66

7-
object helpers extends NotificationsService with RepositoryService with AccountService with IssuesService
7+
object helpers extends NotificationsService with RepositoryService with AccountService
8+
with IssuesService with LabelsService with PrioritiesService with MilestonesService

0 commit comments

Comments
 (0)