mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Add MirrorUpdated field to Repository API type (#18267)
Add the last update time to the repository api type. Close #18266
This commit is contained in:
@@ -93,7 +93,9 @@ type Repository struct {
|
||||
AvatarURL string `json:"avatar_url"`
|
||||
Internal bool `json:"internal"`
|
||||
MirrorInterval string `json:"mirror_interval"`
|
||||
RepoTransfer *RepoTransfer `json:"repo_transfer"`
|
||||
// swagger:strfmt date-time
|
||||
MirrorUpdated time.Time `json:"mirror_updated,omitempty"`
|
||||
RepoTransfer *RepoTransfer `json:"repo_transfer"`
|
||||
}
|
||||
|
||||
// CreateRepoOption options when creating repository
|
||||
|
Reference in New Issue
Block a user