Skip to content

Commit

Permalink
doesnt take user agent
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherJMiller committed May 29, 2024
1 parent baec3b4 commit e460708
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions frontend/src/contexts/MinecraftContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e460708

Please sign in to comment.