diff options
| author | Valery Sizov <valery@gitlab.com> | 2016-12-14 12:35:10 +0200 |
|---|---|---|
| committer | Valery Sizov <valery@gitlab.com> | 2016-12-14 12:35:13 +0200 |
| commit | 8f0cef0b6e5e950efdf3ebfe8f9f846095fff9d9 (patch) | |
| tree | 178908c7184444bd71b23e62727b69a2e324d6af /lib/bitbucket/representation/issue.rb | |
| parent | f20ea1f5cb354db0afe18e4021e1d2fb439c2e06 (diff) | |
| download | gitlab-ce-8f0cef0b6e5e950efdf3ebfe8f9f846095fff9d9.tar.gz | |
BB importer: Refactoring user importing logic[ci skip]
Diffstat (limited to 'lib/bitbucket/representation/issue.rb')
| -rw-r--r-- | lib/bitbucket/representation/issue.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bitbucket/representation/issue.rb b/lib/bitbucket/representation/issue.rb index 90adfa3331a..ffe8a65d839 100644 --- a/lib/bitbucket/representation/issue.rb +++ b/lib/bitbucket/representation/issue.rb @@ -12,7 +12,7 @@ module Bitbucket end def author - user_representation(raw.fetch('reporter', {})) + raw.dig('reporter', 'username') end def description |
