Browse Source

修复没有创建时间

tags/v1.22.1.1^2
ychao_1983 4 years ago
parent
commit
b26e6a40ec
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      models/repo_watch.go

+ 2
- 1
models/repo_watch.go View File

@@ -280,8 +280,9 @@ func notifyWatchers(e Engine, actions ...*Action) error {
// NotifyWatchers creates batch of actions for every watcher.
func NotifyWatchers(actions ...*Action) error {

error := notifyWatchers(x, actions...)
producer(actions...)
return notifyWatchers(x, actions...)
return error
}

func producer(actions ...*Action) {


Loading…
Cancel
Save