WIP wip-initial
authorKai Moritz <kai@juplo.de>
Sat, 15 Aug 2020 16:00:28 +0000 (18:00 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 15 Aug 2020 16:00:28 +0000 (18:00 +0200)
src/main/java/de/juplo/boot/data/jdbc/UserController.java

index 0a27a51..0b2a17a 100644 (file)
@@ -40,7 +40,7 @@ public class UserController {
         UriComponents uri =
             builder
                 .fromCurrentRequest()
-                .path("{username}")
+                .pathSegment("{username}")
                 .buildAndExpand(sanitizedUsername);
         return ResponseEntity.created(uri.toUri()).build();
     }