1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-05 01:45:22 +02:00

fix: rename api.{List,}ActionRun to api.{List,}RepoActionRun (#8066)

This variable name conflict happened because both

https://codeberg.org/forgejo/forgejo/pulls/7699

and

https://codeberg.org/forgejo/forgejo/pulls/7508

introduced the same names in different places and were merged at the same time.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8066
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
Earl Warren 2025-06-04 07:09:06 +02:00 committed by Earl Warren
parent 4dd0514022
commit 2529923dea
6 changed files with 86 additions and 86 deletions

View file

@ -456,16 +456,16 @@ type swaggerSyncForkInfo struct {
Body []api.SyncForkInfo `json:"body"`
}
// ActionRunList
// swagger:response ActionRunList
// RepoActionRunList
// swagger:response RepoActionRunList
type swaggerRepoActionRunList struct {
// in:body
Body api.ListActionRunResponse `json:"body"`
Body api.ListRepoActionRunResponse `json:"body"`
}
// ActionRun
// swagger:response ActionRun
// RepoActionRun
// swagger:response RepoActionRun
type swaggerRepoActionRun struct {
// in:body
Body api.ActionRun `json:"body"`
Body api.RepoActionRun `json:"body"`
}