dude
This commit is contained in:
parent
ec6f858cf2
commit
7563679a7b
1 changed files with 1 additions and 1 deletions
|
@ -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 },
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue