Skip to content

Commit

Permalink
Explicit PathVariable name in queue related endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
malkovro committed Feb 26, 2024
1 parent 795265a commit 427dc7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -78,7 +78,7 @@ public Mono<View> queues(Model model, ServerHttpRequest request, ServerHttpRespo

@GetMapping("queues/{queueName}")
public Mono<View> queueDetail(
@PathVariable String queueName,
@PathVariable("queueName") String queueName,
Model model,
ServerHttpRequest request,
ServerHttpResponse response)
Expand Down
Expand Up @@ -77,7 +77,7 @@ public View queues(Model model, HttpServletRequest request, HttpServletResponse

@GetMapping("queues/{queueName}")
public View queueDetail(
@PathVariable String queueName,
@PathVariable("queueName") String queueName,
Model model,
HttpServletRequest request,
HttpServletResponse response)
Expand Down

0 comments on commit 427dc7c

Please sign in to comment.