Skip to content
Snippets Groups Projects
Commit 10f7b938 authored by Nikolay Grachev's avatar Nikolay Grachev
Browse files

Revert "Issue #3481786: make module work with new legalweb.io API version"

This reverts commit e4be39cd.
parent 3738e48e
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ use GuzzleHttp\Exception\GuzzleException;
class LWCManager {
const SETTINGS = 'legalweb_cloud.settings';
const API_URL = 'https://dashboard.legalweb.io/api/legalwebapi';
const API_URL = 'https://legalweb.io/api';
const RESPONSE_PATH = 'private://legalweb_cloud/';
const RESPONSE_FILENAME = 'response.json';
const ASSET_PATH = 'public://legalweb_cloud/';
......@@ -120,7 +120,7 @@ class LWCManager {
]);
try {
$response = $http_client->request('POST');
$response = $http_client->request('GET');
}
catch (GuzzleException $e) {
// @todo log request error.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment