|
|
@@ -62,7 +62,7 @@ func IsStaring(userID, repoID int64) bool { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func isStaring(e Engine, userID, repoID int64) bool { |
|
|
func isStaring(e Engine, userID, repoID int64) bool { |
|
|
has, _ := e.Get(&Star{0, userID, repoID}) |
|
|
|
|
|
|
|
|
has, _ := e.Get(&Star{0, userID, repoID, 0}) |
|
|
return has |
|
|
return has |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|