Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

[#] base_url on synth.rb (#1490)

Evlos570a0c7ff69f
diff --git a/app/models/provider/synth.rb b/app/models/provider/synth.rb
index 0e367f1e..8247ab34 100644
--- a/app/models/provider/synth.rb
+++ b/app/models/provider/synth.rb
@@ -174,7 +174,7 @@ class Provider::Synth
SecurityInfoResponse = Struct.new :info, :success?, :error, :raw_response, keyword_init: true
def base_url
- "https://api.synthfinance.com"
+ ENV["SYNTH_URL"] || "https://api.synthfinance.com"
end
def app_name