diff options
Diffstat (limited to 'models')
-rw-r--r-- | models/repo.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/repo.go b/models/repo.go index c79c52d682..e50743109b 100644 --- a/models/repo.go +++ b/models/repo.go @@ -281,6 +281,7 @@ func (repo *Repository) APIFormat(mode AccessMode) *api.Repository { Description: repo.Description, Private: repo.IsPrivate, Fork: repo.IsFork, + Mirror: repo.IsMirror, HTMLURL: repo.HTMLURL(), SSHURL: cloneLink.SSH, CloneURL: cloneLink.HTTPS, |