Browse Source

修复

pull/313/head
yystopf 3 years ago
parent
commit
f98886b3a0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/models/feedback_message_history.rb

+ 1
- 1
app/models/feedback_message_history.rb View File

@@ -26,7 +26,7 @@ class FeedbackMessageHistory < ApplicationRecord
private

def send_meessage_email
unless UserMailer.feedback_email(user&.mail, title, content).deliver_now
unless UserMailer.feedback_email(feedback&.user&.mail, title, content).deliver_now
errors[:title] << '邮件发送失败!'
end
end


Loading…
Cancel
Save