Skip to content

Commit

Permalink
Merge pull request #137 from woowa-techcamp-2024/feature/135-search-r…
Browse files Browse the repository at this point in the history
…anking

[fix] 비동기 호출 코드 수정
  • Loading branch information
hellomatia authored Aug 26, 2024
2 parents e0b18da + eb2cf03 commit bc94fdc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public List<ExposureRestaurantSummary> search(SearchCommand command) {
List<Long> restaurantIds = searchResponse.getIds();
log.info("[search] restaurantIds: {}", restaurantIds);
// 비동기 호출
cacheApiCaller.sendAsyncMono(new RankingRequest(command.keyword()));
cacheApiCaller.sendAsyncMono(new RankingRequest(command.keyword())).subscribe();
List<ExternalApiResult> externalApiResults = getExternalResult(restaurantIds,
command.keyword())
.stream()
Expand Down

0 comments on commit bc94fdc

Please sign in to comment.