lib/http_service/naviai.rb in navi_client-1.0.8 vs lib/http_service/naviai.rb in navi_client-1.1.0
- old
+ new
@@ -9,9 +9,9 @@
if client_type == 'local'
go_url = 'http://localhost:9090'
else
go_url = ''
end
- HTTParty.post(GO_SERVER_URL, body: { client_type: client_type, list_meta_path: file_path, token: token })
+ HTTParty.post(GO_SERVER_URL, body: { client_type: client_type, list_meta_path: file_path, token: token }.to_json)
end
end
end