From e46070812050d8745ee29d300ee66df5be3578a4 Mon Sep 17 00:00:00 2001 From: Christopher Miller Date: Tue, 28 May 2024 23:08:43 -0700 Subject: [PATCH] doesnt take user agent --- frontend/src/contexts/MinecraftContext.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/frontend/src/contexts/MinecraftContext.tsx b/frontend/src/contexts/MinecraftContext.tsx index e1eb8cf4..3e9fafb8 100644 --- a/frontend/src/contexts/MinecraftContext.tsx +++ b/frontend/src/contexts/MinecraftContext.tsx @@ -25,12 +25,6 @@ export function MinecraftContextProvider({ children }: ContextProps) { const run = async () => { const userInfo = await fetch( `https://playerdb.co/api/player/minecraft/${id}`, - { - headers: { - 'User-Agent': 'community.realliance.net', - Accept: 'application/json', - }, - }, ); const userJson = await userInfo.json();