forked from kevadesu/forgejo
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:
parent
68b59d8966
commit
89a3214352
3 changed files with 13 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue