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 ae6ae33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Figma/FigmaExtendSocialite.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ class FigmaExtendSocialite
{
public function handle(SocialiteWasCalled $socialiteWasCalled): void
{
$socialiteWasCalled->extendSocialite('Figma', Provider::class);
$socialiteWasCalled->extendSocialite('figma', Provider::class);
}
}
2 changes: 1 addition & 1 deletion src/Figma/Provider.php
Original file line number Diff line number Diff line change
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 ae6ae33

Please sign in to comment.