summaryrefslogtreecommitdiff
path: root/lib/bitbucket/representation/pull_request.rb
diff options
context:
space:
mode:
authorGeorge Koltsov <gkoltsov@gitlab.com>2019-08-07 14:01:18 +0100
committerGeorge Koltsov <gkoltsov@gitlab.com>2019-08-07 14:01:40 +0100
commit5ba77a49997221cc646f158d56c86a636b42e735 (patch)
treeb5036628d7e648b2689da904813ad75a2db216a9 /lib/bitbucket/representation/pull_request.rb
parentf5fcb9a1be906dd647cb1ffed29d8499370a927e (diff)
downloadgitlab-ce-5ba77a49997221cc646f158d56c86a636b42e735.tar.gz
Add author lines to project import comments
Diffstat (limited to 'lib/bitbucket/representation/pull_request.rb')
-rw-r--r--lib/bitbucket/representation/pull_request.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bitbucket/representation/pull_request.rb b/lib/bitbucket/representation/pull_request.rb
index 6a0e8b354bf..a498c9bc213 100644
--- a/lib/bitbucket/representation/pull_request.rb
+++ b/lib/bitbucket/representation/pull_request.rb
@@ -4,7 +4,7 @@ module Bitbucket
module Representation
class PullRequest < Representation::Base
def author
- raw.fetch('author', {}).fetch('username', nil)
+ raw.fetch('author', {}).fetch('nickname', nil)
end
def description