[price-quotes] Fix setting alphavantage API key.

This commit is contained in:
John Ralls 2022-10-14 15:47:07 -07:00
parent 939a77407c
commit 2767587874

View File

@ -205,7 +205,7 @@ GncFQQuoteSource::run_cmd (const StrVec& args, const std::string& json_string) c
bp::std_out > out_buf,
bp::std_err > err_buf,
bp::std_in < input_buf,
bp::env["ALPHAVANTAGE_API_KEY"]= (m_api_key.empty() ? m_api_key : ""),
bp::env["ALPHAVANTAGE_API_KEY"]= (m_api_key.empty() ? "" : m_api_key),
svc);
svc.run();
process.wait();