Commit bbdbdbf
committed
Fix Kotlin docs to use valid authorize signatures
The Real World Example used authorize(allowedPaths, permitAll) where
allowedPaths is an Array<String>, but this overload does not exist in
AuthorizeHttpRequestsDsl. Replace with individual authorize(pattern, access)
calls per path. Also remove unused viewBalancePaths variable.
Closes gh-17174
Signed-off-by: Preeti Toppo <toppopreeti191@gmail.com>1 parent 1455798 commit bbdbdbf
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
305 | 304 | | |
306 | 305 | | |
307 | 306 | | |
308 | | - | |
| 307 | + | |
309 | 308 | | |
310 | 309 | | |
311 | 310 | | |
| |||
314 | 313 | | |
315 | 314 | | |
316 | 315 | | |
317 | | - | |
318 | 316 | | |
319 | 317 | | |
320 | | - | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
321 | 324 | | |
322 | 325 | | |
323 | 326 | | |
| |||
0 commit comments