summaryrefslogtreecommitdiff
path: root/lib/bitbucket_server
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-07-12 15:26:37 -0700
committerStan Hu <stanhu@gmail.com>2018-07-12 15:26:37 -0700
commitf85712fb9814170aac631c7c24ca287fe5a0eb04 (patch)
treec836ab64e01b11483e4c2fa5d5e10af37eec25b1 /lib/bitbucket_server
parentfd2c27ac557e295765bf1c99b416a72ffdd71359 (diff)
downloadgitlab-ce-f85712fb9814170aac631c7c24ca287fe5a0eb04.tar.gz
Use browse URL of project to link imports
Diffstat (limited to 'lib/bitbucket_server')
-rw-r--r--lib/bitbucket_server/representation/repo.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bitbucket_server/representation/repo.rb b/lib/bitbucket_server/representation/repo.rb
index 6e15f7e2fce..8e163e8a1fc 100644
--- a/lib/bitbucket_server/representation/repo.rb
+++ b/lib/bitbucket_server/representation/repo.rb
@@ -18,7 +18,7 @@ module BitbucketServer
end
def browse_url
- raw.dig('project', 'links', 'self').first.fetch('href')
+ raw.dig('links', 'self').first.fetch('href')
end
def clone_url