summaryrefslogtreecommitdiff
path: root/lib/bitbucket_server
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-06-25 23:12:28 -0700
committerStan Hu <stanhu@gmail.com>2018-06-25 23:12:28 -0700
commit14d0bd5913127dbd1c1fffa56bd0e7f78ab2d906 (patch)
tree02401948307f33ad9a22ffc8355ccabfd9b823be /lib/bitbucket_server
parent046a5e398d202be5865a850cf778fedd9bd39c47 (diff)
downloadgitlab-ce-14d0bd5913127dbd1c1fffa56bd0e7f78ab2d906.tar.gz
Add source/target branch SHA
Diffstat (limited to 'lib/bitbucket_server')
-rw-r--r--lib/bitbucket_server/representation/pull_request.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bitbucket_server/representation/pull_request.rb b/lib/bitbucket_server/representation/pull_request.rb
index 6e248802a07..7c03e9a401a 100644
--- a/lib/bitbucket_server/representation/pull_request.rb
+++ b/lib/bitbucket_server/representation/pull_request.rb
@@ -40,7 +40,7 @@ module BitbucketServer
end
def source_branch_sha
- # XXX Not implemented?
+ source_branch['latestCommit']
end
def target_branch_name
@@ -48,7 +48,7 @@ module BitbucketServer
end
def target_branch_sha
- # XXX Not implemented?
+ target_branch['latestCommit']
end
private