Add country to detect location info (#82941)
This commit is contained in:
parent
1c0f9cf941
commit
573320a0b4
1 changed files with 3 additions and 0 deletions
|
@ -110,4 +110,7 @@ async def websocket_detect_config(
|
|||
if location_info.currency:
|
||||
info["currency"] = location_info.currency
|
||||
|
||||
if location_info.country_code:
|
||||
info["country"] = location_info.country_code
|
||||
|
||||
connection.send_result(msg["id"], info)
|
||||
|
|
Loading…
Add table
Reference in a new issue