This commit is contained in:
Unknown 2014-03-28 09:06:48 -04:00
parent cb05b8325c
commit 76b8642348
3 changed files with 12 additions and 0 deletions

View file

@ -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())