0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-31 20:04:25 -05:00
forgejo/routers/api
Zettat123 301de3ab6b
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>
2023-03-16 21:04:52 -04:00
..
actions Avoid panic caused by broken payload when creating commit status (#23216) (#23294) 2023-03-04 14:23:49 +00:00
packages
v1 Handle missing README in create repos API (#23387) (#23510) 2023-03-16 21:04:52 -04:00