fix: Update associations when a label is updated (#3046)

This commit is contained in:
Pranav Raj S
2021-09-21 10:16:32 +05:30
committed by GitHub
parent aaadd61e09
commit b59e73b10b
7 changed files with 124 additions and 5 deletions

View File

@@ -0,0 +1,11 @@
class Labels::UpdateJob < ApplicationJob
queue_as :default
def perform(new_label_title, old_label_title, account_id)
Labels::UpdateService.new(
new_label_title: new_label_title,
old_label_title: old_label_title,
account_id: account_id
).perform
end
end