From 4b24ab3dd060df627c917e5868dad774b8eb5cd4 Mon Sep 17 00:00:00 2001 From: z0ccc Date: Wed, 19 Oct 2022 01:59:38 -0400 Subject: [PATCH] Added org to connection Data --- src/Popup/Pages/AutofillPage/index.tsx | 6 +----- src/Popup/Pages/ConnectionPage/index.tsx | 1 + src/types.ts | 1 + src/utils/getIp.ts | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/Popup/Pages/AutofillPage/index.tsx b/src/Popup/Pages/AutofillPage/index.tsx index 8984175..c164277 100644 --- a/src/Popup/Pages/AutofillPage/index.tsx +++ b/src/Popup/Pages/AutofillPage/index.tsx @@ -109,11 +109,7 @@ const AutofillPage = ({ tab, ipData }: AutofillPageProps) => { - diff --git a/src/Popup/Pages/ConnectionPage/index.tsx b/src/Popup/Pages/ConnectionPage/index.tsx index e1d94f6..9a26f5b 100644 --- a/src/Popup/Pages/ConnectionPage/index.tsx +++ b/src/Popup/Pages/ConnectionPage/index.tsx @@ -40,6 +40,7 @@ const ConnectionPage = ({ tab, ipData }: ConnectionPageProps) => { + fetch( - 'http://ip-api.com/json?fields=status,message,country,countryCode,region,regionName,city,zip,lat,lon,timezone,isp,proxy,query' + 'http://ip-api.com/json?fields=status,message,country,countryCode,region,regionName,city,zip,lat,lon,timezone,isp,org,proxy,query' ) .then((response) => response.json()) .then((ipData) => {