mirror of
https://github.com/go-gitea/gitea
synced 2025-01-22 07:34:26 +00:00
8421b8264f
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`.