<hadnet/>Original post
Web Developer
TypeScript
const locale = new Locale(client);const userLocale = await locale.get();But always got something like this
JSON
{"ip":"xxx.xx.xxx.xxx","countryCode":"AR","country":"Argentina","continentCode":"SA","continent":"South America","eu":false,"currency":""}Why is currency empty?
Summary
Developers are encountering an issue where the currency value is empty when trying to set the locale using the given code snippet. This could be due to incorrect data being returned or a problem with the 'get' function. Check if the 'get' function is correctly implemented and returning the expected currency value.