diff options
author | Zettat123 <zettat123@gmail.com> | 2023-03-17 09:04:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-16 21:04:52 -0400 |
commit | 301de3ab6b505bccdc3ee94c216e4d44bf508ff2 (patch) | |
tree | 3a644f37d86622788643a97028ea8599d6521953 /contrib/environment-to-ini | |
parent | 8f8bd3c0cb19d30a4872000d1f8ab554a408f1e7 (diff) | |
download | gitea-301de3ab6b505bccdc3ee94c216e4d44bf508ff2.tar.gz gitea-301de3ab6b505bccdc3ee94c216e4d44bf508ff2.zip |
Handle missing `README` in create repos API (#23387) (#23510)
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`.
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'contrib/environment-to-ini')
0 files changed, 0 insertions, 0 deletions