feat: sla-7 ensure applied_sla uniqueness (#8938)
* feat: refactor fetching sla in action service * chore: modify spec * chore: ensure applied_sla uniqueness * chore: review fixes * feat: add unique index on applied_sla * chore: fix spec * chore: add new specs to improve coverage * chore: improve spec * Update spec/enterprise/services/enterprise/action_service_spec.rb --------- Co-authored-by: Sojan Jose <sojan@pepalo.com>
This commit is contained in:
@@ -3,6 +3,7 @@ class ActionService
|
||||
|
||||
def initialize(conversation)
|
||||
@conversation = conversation.reload
|
||||
@account = @conversation.account
|
||||
end
|
||||
|
||||
def mute_conversation(_params)
|
||||
|
||||
Reference in New Issue
Block a user