mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01:25 +01:00
fix: address verified review findings (issues-1)
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
16 files changed
+225
-27
No files matched your search
@@ -164,7 +164,8 @@ func (s Issues) Create(ctx context.Context, options IssueOptions) (Issue, error)
|
||||
Deadline: options.Deadline, Milestone: options.Milestone, Labels: options.Labels,
|
||||
})
|
||||
})
|
||||
return item, Classify(err, "issue", "", s.Repository)
|
||||
// A 404 here can only mean the repository is missing or invisible.
|
||||
return item, Classify(err, "repository", s.Repository, "")
|
||||
}
|
||||
|
||||
// SetState updates only the selected issue state.
|
||||
|
||||
Reference in new issue
Block a user