This commit is contained in:
cirroskais 2024-03-18 21:57:50 -04:00
parent ec6f858cf2
commit 7563679a7b
No known key found for this signature in database
GPG key ID: 5FC73EBF2678E33D

View file

@ -30,7 +30,7 @@ export default async function (req: Request): Promise<Response> {
});
const { access_token } = (await response.json()) as TokenResponse;
const userResponse = await fetch("https://discord/api/v10/user/@me", {
const userResponse = await fetch("https://discord.com/api/v10/user/@me", {
headers: { Authorization: "Bearer " + access_token },
});