Skip to content

Commit

Permalink
Update ValidateAuth.php
Browse files Browse the repository at this point in the history
  • Loading branch information
puklipo committed Dec 2, 2024
1 parent 0303eea commit 843765a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/FeedGenerator/ValidateAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Firebase\JWT\JWT;
use Firebase\JWT\Key;
use Illuminate\Http\Request;
use Mdanter\Ecc\EccFactory;
use Revolution\Bluesky\Crypto\DidKey;
use Revolution\Bluesky\Facades\Bluesky;
Expand All @@ -16,7 +17,7 @@ class ValidateAuth
/**
* @return string|null User's did
*/
public function __invoke(?string $jwt): ?string
public function __invoke(?string $jwt, Request $request): ?string
{
[$header, $payload] = JsonWebToken::explode($jwt);

Expand Down

0 comments on commit 843765a

Please sign in to comment.