diff options
author | Zettat123 <zettat123@gmail.com> | 2023-03-17 09:05:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-16 21:05:41 -0400 |
commit | e01e78a9471a9147fc50860b50196b6cebfb5d06 (patch) | |
tree | ae7573b859ccb4019b009aceb13116d2b06817c7 /integrations/api_repo_collaborator_test.go | |
parent | 04d489dbdd9906c51bf836203eb5d1af061902e1 (diff) | |
download | gitea-e01e78a9471a9147fc50860b50196b6cebfb5d06.tar.gz gitea-e01e78a9471a9147fc50860b50196b6cebfb5d06.zip |
Handle missing `README` in create repos API (#23387) (#23509)
Backport #23387
Close #22934
In `/user/repos` API (and other APIs related to creating repos), user
can specify a readme template for auto init. At present, if the
specified template does not exist, a `500` will be returned . This PR
improved the logic and will return a `400` instead of `500`.
Diffstat (limited to 'integrations/api_repo_collaborator_test.go')
0 files changed, 0 insertions, 0 deletions