feat: Add CSAT response APIs (#2503)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Sojan Jose
2021-06-29 20:59:41 +05:30
committed by GitHub
parent 2e71006f9d
commit dd9d5e410c
28 changed files with 358 additions and 23 deletions

View File

@@ -60,6 +60,7 @@ class Conversation < ApplicationRecord
belongs_to :campaign, optional: true
has_many :messages, dependent: :destroy, autosave: true
has_one :csat_survey_response, dependent: :destroy
before_create :set_bot_conversation