Maintenance: Fix env setting for microsoft 365 refresh token.
This commit is contained in:
parent
c04f268ec7
commit
950b828a22
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ namespace :zammad do
|
||||||
refresh_token: ENV['MICROSOFT365_REFRESH_TOKEN'],
|
refresh_token: ENV['MICROSOFT365_REFRESH_TOKEN'],
|
||||||
)
|
)
|
||||||
|
|
||||||
token_env = %(MICROSOFT365_REFRESH_TOKEN="#{result[:refresh_token]}")
|
token_env = %(MICROSOFT365_REFRESH_TOKEN='#{result[:refresh_token]}')
|
||||||
|
|
||||||
File.write(Rails.root.join('fresh.env'), token_env)
|
File.write(Rails.root.join('fresh.env'), token_env)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue