summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/convert/repository.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/convert/repository.go b/modules/convert/repository.go
index f2e10447f7..0f470144b4 100644
--- a/modules/convert/repository.go
+++ b/modules/convert/repository.go
@@ -108,6 +108,7 @@ func innerToRepo(repo *models.Repository, mode models.AccessMode, isParent bool)
HTMLURL: repo.HTMLURL(),
SSHURL: cloneLink.SSH,
CloneURL: cloneLink.HTTPS,
+ OriginalURL: repo.SanitizedOriginalURL(),
Website: repo.Website,
Stars: repo.NumStars,
Forks: repo.NumForks,