Skip to content

Commit

Permalink
Update AmoAPI.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bartjroos committed Oct 24, 2020
1 parent 1c83806 commit bafe1d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AmoAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand Down

0 comments on commit bafe1d8

Please sign in to comment.