From de678aca0651529fd684fcfefad04c6a87f66acc Mon Sep 17 00:00:00 2001 From: pomidorry <106489913+Pomidorry@users.noreply.github.com> Date: Wed, 6 May 2026 22:03:01 +0300 Subject: [PATCH] Reorder fields Signed-off-by: pomidorry <106489913+Pomidorry@users.noreply.github.com> --- modules/structs/repo.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/structs/repo.go b/modules/structs/repo.go index ba949ae7f9..9979e5a5db 100644 --- a/modules/structs/repo.go +++ b/modules/structs/repo.go @@ -121,16 +121,16 @@ type Repository struct { DefaultAllowMaintainerEdit bool `json:"default_allow_maintainer_edit"` AvatarURL string `json:"avatar_url"` Internal bool `json:"internal"` - // swagger:strfmt date-time - LastPullSyncSuccess time.Time `json:"last_pull_sync_success"` - Licenses []string `json:"licenses"` MirrorInterval string `json:"mirror_interval"` // ObjectFormatName of the underlying git repository ObjectFormatName ObjectFormatName `json:"object_format_name"` // swagger:strfmt date-time MirrorUpdated time.Time `json:"mirror_updated"` + // swagger:strfmt date-time + LastPullSyncSuccess time.Time `json:"last_pull_sync_success"` RepoTransfer *RepoTransfer `json:"repo_transfer,omitempty"` Topics []string `json:"topics"` + Licenses []string `json:"licenses"` } // CreateRepoOption options when creating repository