Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zachgoll committed Dec 20, 2024
1 parent e6da8bb commit 324bbef
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/models/concerns/providable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ def git_repository_provider
end

def synth_provider
@synth_provider ||= begin
api_key = self_hosted? ? Setting.synth_api_key : ENV["SYNTH_API_KEY"]
api_key.present? ? Provider::Synth.new(api_key) : nil
end
api_key = self_hosted? ? Setting.synth_api_key : ENV["SYNTH_API_KEY"]
api_key.present? ? Provider::Synth.new(api_key) : nil
end

private
Expand Down

0 comments on commit 324bbef

Please sign in to comment.