Skip to content

Commit

Permalink
[develop]: } 이슈 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
soopeach committed Mar 12, 2024
1 parent 52a23d0 commit 4c1888d
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,11 @@ class RestaurantRepositoryImpl @Inject constructor(
userLocation: Location?,
limit: Int
): List<RegisteredRestaurant> {
return restaurantDataSource.getRegisteredRestaurantsBySearchWithLimitCount(keyword, userLocation, limit)
return restaurantDataSource.getRegisteredRestaurantsBySearchWithLimitCount(
keyword,
userLocation,
limit
)
.map { restaurant ->
RegisteredRestaurant(
id = restaurant.id,
Expand All @@ -198,8 +202,6 @@ class RestaurantRepositoryImpl @Inject constructor(
}
}

}

override suspend fun postRestaurantReview(
restaurantId: Int,
reviewContent: String,
Expand All @@ -208,3 +210,5 @@ class RestaurantRepositoryImpl @Inject constructor(
return restaurantDataSource.postRestaurantReview(restaurantId, reviewContent, reviewImages)
}
}


0 comments on commit 4c1888d

Please sign in to comment.