From 73bb34a044d861899a80c2f096520e32e692d042 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 15 Aug 2020 18:00:28 +0200 Subject: [PATCH] WIP --- src/main/java/de/juplo/boot/data/jdbc/UserController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/juplo/boot/data/jdbc/UserController.java b/src/main/java/de/juplo/boot/data/jdbc/UserController.java index 0a27a51..0b2a17a 100644 --- a/src/main/java/de/juplo/boot/data/jdbc/UserController.java +++ b/src/main/java/de/juplo/boot/data/jdbc/UserController.java @@ -40,7 +40,7 @@ public class UserController { UriComponents uri = builder .fromCurrentRequest() - .path("{username}") + .pathSegment("{username}") .buildAndExpand(sanitizedUsername); return ResponseEntity.created(uri.toUri()).build(); } -- 2.20.1