summary refs log tree commit diff
path: root/api/src/util/utility/ipAddress.ts
diff options
context:
space:
mode:
Diffstat (limited to 'api/src/util/utility/ipAddress.ts')
-rw-r--r--api/src/util/utility/ipAddress.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/util/utility/ipAddress.ts b/api/src/util/utility/ipAddress.ts
index 13cc9603..8d986b26 100644
--- a/api/src/util/utility/ipAddress.ts
+++ b/api/src/util/utility/ipAddress.ts
@@ -65,7 +65,7 @@ export async function IPAnalysis(ip: string): Promise<typeof exampleData> {
 	const { ipdataApiKey } = Config.get().security;
 	if (!ipdataApiKey) return { ...exampleData, ip };
 
-	return (await fetch(`https://api.ipdata.co/${ip}?api-key=${ipdataApiKey}`)).json();
+	return (await fetch(`https://api.ipdata.co/${ip}?api-key=${ipdataApiKey}`)).json() as any;
 }
 
 export function isProxy(data: typeof exampleData) {