Browse Source

chore: fix typo in docstring (#7269)

xpume 2 years ago
parent
commit
83335043e2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/db/issue.go

+ 1 - 1
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,