Skip to content

Commit

Permalink
fix(fao): remove old structure to access country list
Browse files Browse the repository at this point in the history
  • Loading branch information
willian-viana committed Dec 19, 2024
1 parent 60e415a commit f0b8a81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/country.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export const getCategorisedCountries = (asOptions = false) =>
? convertToOptions(gadm36Countries.data.rows)
: gadm36Countries.data.rows,
faoCountries: asOptions
? convertToOptions(faoCountries.data.rows)
: faoCountries.data.rows,
? convertToOptions(faoCountries.data)
: faoCountries.data,
countries: asOptions
? convertToOptions(gadm36Countries.data.rows)
: gadm36Countries.data.rows,
Expand Down

0 comments on commit f0b8a81

Please sign in to comment.