diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-28 09:06:48 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-28 09:06:48 -0400 |
commit | 76b864234857ec01613db78ed19868a91795e99b (patch) | |
tree | 45355600d2ee7a1d439a37116487fda3087d5aaa /models/repo.go | |
parent | cb05b8325cdd85dda9bbebf61d8993da34d80e70 (diff) |
Bug fix
Diffstat (limited to 'models/repo.go')
-rw-r--r-- | models/repo.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/repo.go b/models/repo.go index 726d435d..4be655d2 100644 --- a/models/repo.go +++ b/models/repo.go @@ -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()) |