From 949f9932f0094c302737d22b69be3f11b5859a5f Mon Sep 17 00:00:00 2001 From: amy Date: Tue, 24 Dec 2024 22:28:39 +0330 Subject: [PATCH] oh my god im stupid --- review/App.tsx | 2 +- src/components/api.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/review/App.tsx b/review/App.tsx index b1a1d10..959474d 100644 --- a/review/App.tsx +++ b/review/App.tsx @@ -11,7 +11,7 @@ export default function App() { console.log(token); if (token === "") { window.location.href = - "https://discord.com/oauth2/authorize?client_id=1208380910525743134&response_type=code&redirect_uri=https%3A%2F%2Famy.rip%2Freview%2F&scope=identify"; + "https://discord.com/oauth2/authorize?client_id=1208380910525743134&response_type=access_token&redirect_uri=https%3A%2F%2Famy.rip%2Freview%2F&scope=identify"; } let ref!: HTMLTextAreaElement; return ( diff --git a/src/components/api.tsx b/src/components/api.tsx index acc3c4f..aecf87d 100644 --- a/src/components/api.tsx +++ b/src/components/api.tsx @@ -46,7 +46,7 @@ export default function Reviews() { style={{ display: ishover() ? "inline" : "none", }} - href="https://discord.com/oauth2/authorize?client_id=1208380910525743134&response_type=code&redirect_uri=https%3A%2F%2Famy.rip%2Freview%2F&scope=identify" + href="https://discord.com/oauth2/authorize?client_id=1208380910525743134&response_type=access_token&redirect_uri=https%3A%2F%2Famy.rip%2Freview%2F&scope=identify" >

add your reviews here