diff options
author | Stan Hu <stanhu@gmail.com> | 2016-10-22 11:59:40 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-10-22 12:16:21 +0300 |
commit | 0890aeb61a5378ec3bb98511de236ee01eee8711 (patch) | |
tree | 2d2507a19e7e3ba347172f85ae413d23f5b306fc /lib/gitlab/issues_labels.rb | |
parent | 4ae57e0b374bbb8e461305d8a7a68b550bdd768d (diff) |
Fix error in generating labels
Attempting to generate default set of labels would result in
an error:
ArgumentError: wrong number of arguments (given 1, expected 0)
Closes #23649
Diffstat (limited to 'lib/gitlab/issues_labels.rb')
-rw-r--r-- | lib/gitlab/issues_labels.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/issues_labels.rb b/lib/gitlab/issues_labels.rb index 01a2c19ab23..dbc759367eb 100644 --- a/lib/gitlab/issues_labels.rb +++ b/lib/gitlab/issues_labels.rb @@ -19,7 +19,7 @@ module Gitlab ] labels.each do |params| - ::Labels::FindOrCreateService.new(project.owner, project).execute(params) + ::Labels::FindOrCreateService.new(project.owner, project, params).execute end end end |