0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-19 08:35:29 +01:00
gitea/routers/api/v1/repo
Kemal Zebari f05d9c98c4
Handle invalid target when creating releases using API (#31841)
A 500 status code was thrown when passing a non-existent target to the
create release API. This snapshot handles this error and instead throws
a 404 status code.

Discovered while working on #31840.
2024-09-12 07:47:31 +00:00
..
action.go Set owner id to zero when GetRegistrationToken for repo (#31725) 2024-07-29 18:46:45 +00:00
avatar.go
blob.go
branch.go
collaborators.go
commits.go Return 404 instead of error when commit not exist (#31977) 2024-09-06 02:39:23 +08:00
compare.go
file.go Add return type to GetRawFileOrLFS and GetRawFile (#31680) 2024-07-25 14:06:19 +02:00
fork.go
git_hook.go
git_ref.go
hook_test.go
hook.go
issue_attachment.go
issue_comment_attachment.go
issue_comment.go
issue_dependency.go
issue_label.go
issue_pin.go
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go
issue.go Fix 500 error when state params is set when editing issue/PR by API (#31880) 2024-09-02 02:08:27 +08:00
key.go
label.go
language.go
main_test.go
migrate.go Support migration from AWS CodeCommit (#31981) 2024-09-11 07:49:42 +08:00
milestone.go
mirror.go
notes.go
patch.go
pull_review.go
pull.go bump to go 1.23 (#31855) 2024-09-10 02:23:07 +00:00
release_attachment.go
release_tags.go
release.go Handle invalid target when creating releases using API (#31841) 2024-09-12 07:47:31 +00:00
repo_test.go
repo.go
star.go
status.go
subscriber.go
tag.go
teams.go
topic.go
transfer.go
tree.go
wiki.go