mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
Bug fix
This commit is contained in:
parent
cb05b8325c
commit
76b8642348
3 changed files with 12 additions and 0 deletions
|
@ -510,6 +510,7 @@ func NotifyWatchers(act *Action) error {
|
|||
continue
|
||||
}
|
||||
|
||||
act.Id = 0
|
||||
act.UserId = watches[i].UserId
|
||||
if _, err = orm.InsertOne(act); err != nil {
|
||||
return errors.New("repo.NotifyWatchers(create action): " + err.Error())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue