Browse Source

Merge pull request '解决个人中心操作用户不对的问题。' (#1547) from zouap_static into V20220228

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/1547
Reviewed-by: lewis <747342561@qq.com>
pull/1553/head
lewis 3 years ago
parent
commit
574c4ed696
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/notification/action/action.go

+ 1
- 1
modules/notification/action/action.go View File

@@ -333,7 +333,7 @@ func (a *actionNotifier) NotifySyncDeleteRef(doer *models.User, repo *models.Rep


func (a *actionNotifier) NotifyOtherTask(doer *models.User, repo *models.Repository, id string, name string, optype models.ActionType) { func (a *actionNotifier) NotifyOtherTask(doer *models.User, repo *models.Repository, id string, name string, optype models.ActionType) {
if err := models.NotifyWatchers(&models.Action{ if err := models.NotifyWatchers(&models.Action{
ActUserID: repo.OwnerID,
ActUserID: doer.ID,
ActUser: doer, ActUser: doer,
OpType: optype, OpType: optype,
RepoID: repo.ID, RepoID: repo.ID,


Loading…
Cancel
Save