diff options
author | Stan Hu <stanhu@gmail.com> | 2018-06-25 23:12:28 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-06-25 23:12:28 -0700 |
commit | 14d0bd5913127dbd1c1fffa56bd0e7f78ab2d906 (patch) | |
tree | 02401948307f33ad9a22ffc8355ccabfd9b823be /lib/bitbucket_server | |
parent | 046a5e398d202be5865a850cf778fedd9bd39c47 (diff) | |
download | gitlab-ce-14d0bd5913127dbd1c1fffa56bd0e7f78ab2d906.tar.gz |
Add source/target branch SHA
Diffstat (limited to 'lib/bitbucket_server')
-rw-r--r-- | lib/bitbucket_server/representation/pull_request.rb | 4 |
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 |