Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
bodrovis committed Oct 19, 2023
1 parent 1667d44 commit 1366dd4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions spec/dummy/config/lokalise_rails.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# frozen_string_literal: true

if defined?(LokaliseRails) && defined?(LokaliseRails::GlobalConfig)
LokaliseRails::GlobalConfig.config do |c|
c.api_token = ENV['LOKALISE_API_TOKEN']
c.project_id = ENV['LOKALISE_PROJECT_ID']
c.api_token = ENV.fetch('LOKALISE_API_TOKEN', nil)
c.project_id = ENV.fetch('LOKALISE_PROJECT_ID', nil)
end
end
end

0 comments on commit 1366dd4

Please sign in to comment.