forgejo/routers/api/v1/admin
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
..
adopt.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
cron.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
hooks.go Support system hook API (#14537) 2023-01-28 19:12:10 +01:00
org.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
repo.go Handle missing README in create repos API (#23387) (#23510) 2023-03-16 21:04:52 -04:00
user.go Purge API comment (#23451) (#23452) 2023-03-13 15:46:18 -05:00