Update temp_file.

This commit is contained in:
BoHung Chiu 2022-10-27 22:18:59 +08:00
parent 1439556e13
commit adb9d138e1
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ module Admin::GmailHelper
message = Google::Apis::GmailV1::Message.new(raw: raw)
error = nil
result = nil
service.send_user_message(user_id,message,quota_user: site[:title][site.default_locale||:zh_tw]){|r,err| result=r;error=err}
service.send_user_message(user_id,message,quota_user: site.title_translations[site.default_locale||:zh_tw]){|r,err| result=r;error=err}
[service,error]
end
end