feat: Add CSAT response APIs (#2503)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
@@ -79,6 +79,7 @@ class Message < ApplicationRecord
|
||||
belongs_to :sender, polymorphic: true, required: false
|
||||
|
||||
has_many :attachments, dependent: :destroy, autosave: true, before_add: :validate_attachments_limit
|
||||
has_one :csat_survey_response, dependent: :destroy
|
||||
|
||||
after_create :reopen_conversation,
|
||||
:notify_via_mail
|
||||
|
||||
Reference in New Issue
Block a user