Maintenance: Fix env setting for microsoft 365 refresh token.

This commit is contained in:
Rolf Schmidt 2021-04-13 09:17:23 +01:00
parent c04f268ec7
commit 950b828a22

View file

@ -18,7 +18,7 @@ namespace :zammad do
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)
end