fixed GeocodingService add alter city

This commit is contained in:
SlimusMinus
2026-08-04 00:33:17 +03:00
parent 619ce7086b
commit 7429515143
12 changed files with 192 additions and 124 deletions

View File

@@ -38,8 +38,7 @@ public class FavoriteService {
User user = userService.getCurrentUser();
Post post = postRepository.findById(postId)
.orElseThrow(() -> new ApiException(
Post post = postRepository.findById(postId).orElseThrow(() -> new ApiException(
ErrorCode.NOT_FOUND,
"Post not found",
HttpStatus.NOT_FOUND