forgejo/routers/api/v1
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
..
activitypub add more integration testcases 2024-05-21 18:49:31 +02:00
admin
misc
notify
org Fix bug on avatar (#31008) 2024-05-19 13:57:52 +02:00
packages
repo Load attachments for /issues/comments/{id} 2024-07-16 11:09:54 +02:00
settings
shared
swagger Add support for workflow_dispatch (#3334) 2024-06-28 05:17:11 +00:00
user feat(federated-star) star repositories via ActivityPub (#1680) 2024-06-06 08:58:11 +02:00
utils
api.go Add support for workflow_dispatch (#3334) 2024-06-28 05:17:11 +00:00