lib/http_service/naviai.rb in navi_client-1.1.6 vs lib/http_service/naviai.rb in navi_client-1.1.7
- old
+ new
@@ -1,14 +1,14 @@
require "httparty"
module HTTPService
class NaviAI
- def self.start(file_path, client_type, token, current_user=nil)
+ def self.start(file_path, client_type, token)
go_url = 'http://localhost:9090/v2/metas'
if client_type == 'cloud'
go_url = 'http://34.214.134.104:9090/v2/metas'
end
- HTTParty.post(go_url, body: { client_type: client_type, list_meta_path: file_path, token: token, current_user: current_user }.to_json)
+ HTTParty.post(go_url, body: { client_type: client_type, list_meta_path: file_path, token: token }.to_json)
end
end
end