Correct bug due to refactor
This commit is contained in:
parent
82c7c15068
commit
04b8b26d65
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue