yazid138 3 лет назад
Родитель
Сommit
37eef24e84
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      actions/pengunjung.js

+ 1 - 1
actions/pengunjung.js

@@ -8,7 +8,7 @@ export const createPengunjung = async () => {
 			os: navigator.userAgentData.platform,
 			ipv4: jsonip.data.ip,
 			location: {
-				country: { type: String },
+				country: jsonip.data.country_name,
 				region: jsonip.data.region_name,
 				city: jsonip.data.city,
 				lat: jsonip.data.latitude,