File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -428,9 +428,9 @@ And here is the controller::
428
428
$configuration = Configuration::forSymmetricSigner(new Sha256(), $key);
429
429
430
430
$token = $configuration->builder()
431
- ->withClaim('mercure', ['subscribe' => ["http://example.com/books/1"]]) // can also be a URI template, or *
432
- ->getToken($configuration->signer(), $configuration->signingKey())
433
- ->toString();
431
+ ->withClaim('mercure', ['subscribe' => ["http://example.com/books/1"]]) // can also be a URI template, or *
432
+ ->getToken($configuration->signer(), $configuration->signingKey())
433
+ ->toString();
434
434
435
435
$response = $this->json(['@id' => '/demo/books/1', 'availability' => 'https://schema.org/InStock']);
436
436
$cookie = Cookie::create('mercureAuthorization')
You can’t perform that action at this time.
0 commit comments