chore: Update link in the reply summary email (#7024)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Tejaswini Chile
2023-05-10 06:09:09 +05:30
committed by GitHub
parent 5e0ce7793c
commit 6137a45214
2 changed files with 19 additions and 7 deletions

View File

@@ -195,6 +195,10 @@ class Conversation < ApplicationRecord
messages.chat.last(5)
end
def csat_survey_link
"#{ENV.fetch('FRONTEND_URL', nil)}/survey/responses/#{uuid}"
end
private
def execute_after_update_commit_callbacks