From bafe1d888a863e0a48a56a9ae31581e3480ba453 Mon Sep 17 00:00:00 2001 From: Bart Roos Date: Sat, 24 Oct 2020 16:24:17 +0200 Subject: [PATCH] Update AmoAPI.php --- src/AmoAPI.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AmoAPI.php b/src/AmoAPI.php index 117c64a..22b972d 100644 --- a/src/AmoAPI.php +++ b/src/AmoAPI.php @@ -44,7 +44,7 @@ private function call($endpoint = 'user', $method = 'GET') $this->log('Succesfully using current access_token'); } - $response = $this->client->request($method, 'https://api.amo.rocks' . $endpoint, [ + $response = $this->client->request($method, 'https://api.curio.codes' . $endpoint, [ 'headers' => [ 'Accept' => 'application/json', 'Authorization' => 'Bearer '. $access_token @@ -60,7 +60,7 @@ private function refresh($refresh_token) { try { - $response = $this->client->post('https://login.amo.rocks/oauth/token', [ + $response = $this->client->post('https://login.curio.codes/oauth/token', [ 'form_params' => [ 'grant_type' => 'refresh_token', 'refresh_token' => $refresh_token,