Files
gitea/routers/api/v1/repo
Kausthubh J RaoandGitHub 19f01691d5 fix(api): return 409 message instead of empty JSON for wrong commit id (#37572)
## Issue
Closes #37217 

The error string was getting lost while returning due to `ctx.JSON()`
which cannot serialize the `error` object.

## Fix

Use `ctx.APIError()` to return proper error messages back to the client.
2026-05-07 02:03:08 +00:00
..
…
…
…
…
…
2025-10-10 00:39:14 +08:00
…
2026-04-03 20:03:59 +00:00
…
…