issue #12450: return original URL in `original_url` JSON field (#13885)

Co-authored-by: Gitea <gitea@fake.local>
pull/13887/head
Eric Belhomme 4 years ago committed by GitHub
parent f74a094fd5
commit 6ddf881245
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      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,

Loading…
Cancel
Save