added posts on feed and posts on map

This commit is contained in:
SlimusMinus
2026-09-29 01:03:54 +03:00
parent a44ca00222
commit 870739f45f
22 changed files with 639 additions and 44 deletions

View File

@@ -45,7 +45,7 @@ public class PostController {
return service.getFeed(search, pageable);
}
@GetMapping("/{id}")
@GetMapping("/{id:\\d+}")
public List<PostResponse> getById(@PathVariable Long id) {
log.info("get feed by id {}", id);
return service.getPostsByUserId(id);