fixed GeocodingService add alter city
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user