Skip to content

Commit

Permalink
Fix Constant Contact client not working
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/clients/constantcontact/provider/ConstantContact.php
  • Loading branch information
engram-design committed Aug 28, 2024
1 parent f3312b8 commit 4054062
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/clients/constantcontact/provider/ConstantContact.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@ public function getDefaultScopes()
return [];
}

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 4054062

Please sign in to comment.