mirror of
https://github.com/go-gitea/gitea
synced 2024-11-07 09:15:53 +01:00
Bug fix
This commit is contained in:
parent
31fd45ba02
commit
7d89e765ab
@ -785,7 +785,7 @@ func NotifyWatchers(act *Action) error {
|
||||
|
||||
// IsWatching checks if user has watched given repository.
|
||||
func IsWatching(uid, rid int64) bool {
|
||||
has, _ := orm.Get(&Watch{0, rid, uid})
|
||||
has, _ := orm.Get(&Watch{0, uid, rid})
|
||||
return has
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user