Update temp_file.
This commit is contained in:
parent
1439556e13
commit
adb9d138e1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue