Quellcode durchsuchen

Fix typos in RSocket reference docs

Eleftheria Stein vor 4 Jahren
Ursprung
Commit
7f81b3fead
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      docs/manual/src/docs/asciidoc/_includes/reactive/rsocket.adoc

+ 2 - 2
docs/manual/src/docs/asciidoc/_includes/reactive/rsocket.adoc

@@ -215,7 +215,7 @@ An example configuration can be found below:
 [[source,java]]
 ----
 rsocket
-	.authorizePayload(authorize ->
+	.authorizePayload(authz ->
 		authz
 			.setup().hasRole("SETUP") // <1>
 			.route("fetch.profile.me").authenticated() // <2>
@@ -225,7 +225,7 @@ rsocket
 				.access((authentication, context) -> checkFriends(authentication, context))
 			.anyRequest().authenticated() // <5>
 			.anyExchange().permitAll() // <6>
-	)
+	);
 ----
 <1> Setting up a connection requires the authority `ROLE_SETUP`
 <2> If the route is `fetch.profile.me` authorization only requires the user be authenticated