Skip to content

Commit a4b8ab7

Browse files
committed
add a warnning on SearchIssuesByKeyword
1 parent 360c47c commit a4b8ab7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/indexer/issues/indexer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ func DeleteRepoIssueIndexer(repo *models.Repository) {
321321
}
322322

323323
// SearchIssuesByKeyword search issue ids by keywords and repo id
324+
// WARNNING: You have to ensure user have permission to visit repoIDs' issues
324325
func SearchIssuesByKeyword(repoIDs []int64, keyword string) ([]int64, error) {
325326
var issueIDs []int64
326327
indexer := holder.get()

0 commit comments

Comments
 (0)