summaryrefslogtreecommitdiff
path: root/app/services/labels/promote_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/labels/promote_service.rb')
-rw-r--r--app/services/labels/promote_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/labels/promote_service.rb b/app/services/labels/promote_service.rb
index 43b539ded53..997d247be46 100644
--- a/app/services/labels/promote_service.rb
+++ b/app/services/labels/promote_service.rb
@@ -19,6 +19,7 @@ module Labels
# We skipped validations during creation. Let's run them now, after deleting conflicting labels
raise ActiveRecord::RecordInvalid.new(new_label) unless new_label.valid?
+
new_label
end
end