From: Kai Moritz Date: Sat, 15 Aug 2020 16:00:28 +0000 (+0200) Subject: WIP X-Git-Tag: wip-initial X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=73bb34a044d861899a80c2f096520e32e692d042;p=demos%2Fkafka%2Foutbox WIP --- 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(); }