reload cache on link

This commit is contained in:
Haroon 2024-06-30 16:44:24 +01:00
parent 71a5bd3f12
commit fbd529b99a

View file

@ -124,6 +124,8 @@ receiver.router.get("/osu/callback", async (req, res) => {
await sql`INSERT INTO links VALUES (${user.id}, ${userId})`
getLeaderboard();
return res.send(`Your osu! account (${user.id}) has been successfully linked to your Slack account (${userId})!`)
}
})