Skip to content

Commit

Permalink
Fix Constant Contact client not working
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed Aug 28, 2024
1 parent c47ff83 commit 4fb774c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/clients/constantcontact/provider/ConstantContact.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ protected function getScopeSeparator(): string
return ' ';
}

protected function getAuthorizationHeaders($token = null): array
{
return ['Authorization' => 'Bearer ' . $token->getToken()];
}

public function checkResponse(ResponseInterface $response, $data)
{
if (!empty($data['errors'])) {
Expand Down

0 comments on commit 4fb774c

Please sign in to comment.