aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorxpume <770954908@qq.com>2022-12-08 21:58:01 +0800
committerGitHub <noreply@github.com>2022-12-08 21:58:01 +0800
commit83335043e2a4912b9f83b2c6897aa64f2101892e (patch)
treed52ee7fc8cdd65fc68f4bf20b5a17673a051af5e /internal
parenta5ad63a005d092a9bb588221eb988aed871b8347 (diff)
chore: fix typo in docstring (#7269)
Diffstat (limited to 'internal')
-rw-r--r--internal/db/issue.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/issue.go b/internal/db/issue.go
index dbb34721..c7e09ab9 100644
--- a/internal/db/issue.go
+++ b/internal/db/issue.go
@@ -834,7 +834,7 @@ func GetIssueByRef(ref string) (*Issue, error) {
return issue, issue.LoadAttributes()
}
-// GetIssueByIndex returns raw issue without loading attributes by index in a repository.
+// GetRawIssueByIndex returns raw issue without loading attributes by index in a repository.
func GetRawIssueByIndex(repoID, index int64) (*Issue, error) {
issue := &Issue{
RepoID: repoID,