Skip to content

Commit

Permalink
fix: figma token
Browse files Browse the repository at this point in the history
  • Loading branch information
atymic committed Feb 7, 2024
1 parent 98f6acd commit 368ad81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Figma/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use SocialiteProviders\Manager\OAuth2\AbstractProvider;
use SocialiteProviders\Manager\OAuth2\User;

class Provider extends AbstractProvider
class Provider extends AbstractProvider
{
public const IDENTIFIER = 'FIGMA';

Expand Down Expand Up @@ -38,7 +38,7 @@ protected function getUserByToken($token)
{
$response = $this->getHttpClient()->get('https://api.figma.com/v1/me', [
RequestOptions::HEADERS => [
'X-FIGMA-TOKEN' => $token,
'Authorization' => 'Bearer '.$token,
],
]);

Expand Down

0 comments on commit 368ad81

Please sign in to comment.