You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: country-service-backend/src/main/java/com/country_service/country_service_backend/client/CountriesNowRestClient.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,12 @@
11
11
12
12
publicinterfaceCountriesNowRestClient {
13
13
14
-
/* Flux since REST endpoint returns multiple values, even thought its wrapped in Mono */
14
+
/* Flux since REST end point returns multiple values, even thought it will be wrapped into the Mono in the end */
Copy file name to clipboardExpand all lines: country-service-backend/src/main/java/com/country_service/country_service_backend/service/CountriesServiceImpl.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ public Mono<Countries> getCountries() {
//TODO(heikki) error throw some right exception if input is incorrect. Wrong country -> error message is "no population for country", its should be no country found to begin with!
52
52
Mono<CountryPopulationSingleCountResponseDto> populationMono = countriesNowRestClient.getCountyWithPopulationByGet(countryName).last(); // for latest population from API.
53
53
Mono<CountryFlagImageInfoResponseDto> flagMono = countriesNowRestClient.getCountryWithFlagUrlByGet(countryName); // for flag URL from API.
54
54
Mono<CountryCapitalInfoResponseDto> capitalMono = countriesNowRestClient.getCountyWithCapitalByGet(countryName); // for getting capital from API.
0 commit comments