Skip to content

Commit

Permalink
Fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chrztoph committed Dec 8, 2024
1 parent b1427f1 commit e7415e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/deepl/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def initialize(organization = nil)
end
else
@api_token = ENV.fetch('DEEPL_API_TOKEN', nil)
@api_endpoint = @api_token.ends_with?(":fx") ? DEEPL_FREE_API : DEEPL_PRO_API
@api_endpoint = @api_token.ends_with?(':fx') ? DEEPL_FREE_API : DEEPL_PRO_API

response = self.usage
if response.nil?
Expand Down

0 comments on commit e7415e1

Please sign in to comment.