Correct bug due to refactor

This commit is contained in:
Charles 2025-11-24 12:05:38 +01:00
parent 82c7c15068
commit 04b8b26d65
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@
namespace App\Controller;
use App\Service\UserService;
use Lcobucci\JWT\Configuration;
use Lcobucci\JWT\Signer\Hmac\Sha256;
use Lcobucci\JWT\Signer\Key\InMemory;
@ -11,6 +12,9 @@ use Symfony\Component\Routing\Attribute\Route;
class MercureController extends AbstractController
{
public function __construct(private readonly UserService $userService)
{
}
#[Route(path: '/mercure-token', name: 'mercure_token', methods: ['GET'])]
public function getMercureToken(): JsonResponse
{