lib/http_service/naviai.rb in navi_client-1.3.6 vs lib/http_service/naviai.rb in navi_client-1.3.7

- old
+ new

@@ -9,10 +9,10 @@ go_url = 'http://34.214.134.104:9090/v2/metas' end HTTParty.post(go_url, body: { client_id: client_id, client_type: client_type, list_meta_path: filepath, token: token, email: email }.to_json) end - def self.generate_csv(email) - HTTParty.post("https://api2.navihq.com/generate_csv_input?email=#{email}") + def self.generate_csv(url, token) + HTTParty.post(url, headers: {"Authorization": token}) end end end