diff --git a/apps/web/lib/actions/invite-partner.ts b/apps/web/lib/actions/invite-partner.ts index 31af756a1b..86a24e46ba 100644 --- a/apps/web/lib/actions/invite-partner.ts +++ b/apps/web/lib/actions/invite-partner.ts @@ -91,13 +91,13 @@ export const invitePartnerAction = authActionClient programId, }, }), - - updateConfig({ - key: "partnersPortal", - value: email, - }), ]); + await updateConfig({ + key: "partnersPortal", + value: email, + }); + await sendEmail({ subject: `${program.name} invited you to join Dub Partners`, email,