add helper to transform snake case to camel case
This commit is contained in:
6
frontend/src/helpers/CountryHelper.js
Normal file
6
frontend/src/helpers/CountryHelper.js
Normal file
@@ -0,0 +1,6 @@
|
||||
export const fromWiaasCountryList = (countryList) => {
|
||||
return {
|
||||
idCountry: countryList.country_id,
|
||||
countryName: countryList.country_name
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user