Unknown 11 년 전
부모
커밋
7d89e765ab
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      models/repo.go

+ 1 - 1
models/repo.go

@@ -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
 }