diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2023-09-05 21:00:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-05 13:00:52 +0000 |
commit | f064d716c3972f38249533602b41f8a68dcffc27 (patch) | |
tree | d2c51331ad74cba1efbc915607fe869c094b22f7 /services/repository | |
parent | 65588b732c087e191a8f03e240fdfc5dcfc24199 (diff) | |
download | gitea-f064d716c3972f38249533602b41f8a68dcffc27.tar.gz gitea-f064d716c3972f38249533602b41f8a68dcffc27.zip |
Move feed notification service layer (#26908)
Extract from #22266
Diffstat (limited to 'services/repository')
-rw-r--r-- | services/repository/transfer_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/repository/transfer_test.go b/services/repository/transfer_test.go index 1299e66be2..53ba3c2441 100644 --- a/services/repository/transfer_test.go +++ b/services/repository/transfer_test.go @@ -15,8 +15,8 @@ import ( "code.gitea.io/gitea/models/unittest" user_model "code.gitea.io/gitea/models/user" "code.gitea.io/gitea/modules/notification" - "code.gitea.io/gitea/modules/notification/action" "code.gitea.io/gitea/modules/util" + "code.gitea.io/gitea/services/feed" "github.com/stretchr/testify/assert" ) @@ -25,7 +25,7 @@ var notifySync sync.Once func registerNotifier() { notifySync.Do(func() { - notification.RegisterNotifier(action.NewNotifier()) + notification.RegisterNotifier(feed.NewNotifier()) }) } |