ソースを参照

fix create pengunjung

yazid138 3 年 前
コミット
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,