瀏覽代碼

chore: fix typo in docstring (#7269)

xpume 2 年之前
父節點
當前提交
83335043e2
共有 1 個文件被更改,包括 1 次插入1 次删除
  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,