diff --git a/api/discord/oauth/callback.ts b/api/discord/oauth/callback.ts index 55190279..b3025c55 100644 --- a/api/discord/oauth/callback.ts +++ b/api/discord/oauth/callback.ts @@ -212,6 +212,8 @@ export default async function handler(req: any, res: any) { "[Discord OAuth] Successfully linked Discord:", discordUser.id, ); + + await notifyAccountLinked(authenticatedUserId, "Discord"); return res.redirect(redirectTo); }