mirror of
1
Fork 0
forgejo/routers/api
Gergely Nagy fc4f914e71
Load attachments for `/issues/comments/{id}`
The `/repos/{owner}/{repo}/issues/comments/{id}` API endpoint returns an
`assets` field, but the route handler did not load attachments, thus,
the field was never populated.

This patch fixes that, and adds a test to exercise it. The test fails
without the fix.

This addresses a bug discovered in Codeberg/Community#1607.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-07-16 11:09:54 +02:00
..
actions fix artifact range requests (#4218) 2024-07-10 05:28:01 +00:00
forgejo/v1 Fix #2512 /api/forgejo/v1/version auth check (#2582) 2024-03-19 07:16:19 +00:00
packages Enable `unparam` linter (#31277) 2024-06-16 13:42:58 +02:00
shared Fix #2512 /api/forgejo/v1/version auth check (#2582) 2024-03-19 07:16:19 +00:00
v1 Load attachments for `/issues/comments/{id}` 2024-07-16 11:09:54 +02:00