Skip to content

Commit

Permalink
updated file architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
vliu36 committed Jun 5, 2024
1 parent cf0d5aa commit 4f8bc61
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/routes/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ router.get("/github/callback", async (req: any, res: any) => {

const user = await getUser({ code });

console.log(user);
res.redirect("http://localhost:3000")
res.send(user);
})

export {};

0 comments on commit 4f8bc61

Please sign in to comment.