We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1158f84 commit f9f1de0Copy full SHA for f9f1de0
1 file changed
src/redirect.ts
@@ -37,13 +37,11 @@ export const handleRedirect = async (req: NextRequest) => {
37
}
38
39
const userData = (await sessionData.json()) as {
40
- user: {
41
- id: string;
42
- username: string;
43
- discriminator: string;
44
- avatar: string | null;
45
- email?: string;
46
- };
+ id: string;
+ username: string;
+ discriminator: string;
+ avatar: string | null;
+ email?: string;
47
};
48
49
const session: Session = {
0 commit comments