Skip to content

Commit cefee11

Browse files
committed
Merge branch '5.0' into 5.1
* 5.0: Minor fixes
2 parents 7388005 + da63694 commit cefee11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mercure.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -352,15 +352,15 @@ of the ``Update`` constructor to ``true``::
352352
);
353353

354354
// Publisher's JWT must contain this topic, a URI template it matches or * in mercure.publish or you'll get a 401
355-
// Subscriber's JWT must contain this topic, a URI template it matches or or * in mercure.subscribe to receive the update
355+
// Subscriber's JWT must contain this topic, a URI template it matches or * in mercure.subscribe to receive the update
356356
$publisher($update);
357357

358358
return new Response('private update published!');
359359
}
360360
}
361361

362362
To subscribe to private updates, subscribers must provide to the Hub
363-
a JWT containing containing a topic selector matching by the update's topic.
363+
a JWT containing a topic selector matching by the update's topic.
364364

365365
To provide this JWT, the subscriber can use a cookie,
366366
or a ``Authorization`` HTTP header.

0 commit comments

Comments
 (0)