Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

a small fix

Kiran K692950590607
diff --git a/apps/web/lib/actions/invite-partner.ts b/apps/web/lib/actions/invite-partner.ts
index 083ecf83d6..0c3342dc19 100644
--- a/apps/web/lib/actions/invite-partner.ts
+++ b/apps/web/lib/actions/invite-partner.ts
@@ -6,6 +6,7 @@ import PartnerInvite from "emails/partner-invite";
import { z } from "zod";
import { getLinkOrThrow } from "../api/links/get-link-or-throw";
import { getProgramOrThrow } from "../api/programs/get-program";
+import { updateConfig } from "../edge-config";
import { authActionClient } from "./safe-action";
const invitePartnerSchema = z.object({
@@ -70,10 +71,10 @@ export const invitePartnerAction = authActionClient
},
});
- // await updateConfig({
- // key: "partnersPortal",
- // value: email,
- // });
+ await updateConfig({
+ key: "partnersPortal",
+ value: email,
+ });
await sendEmail({
subject: `${program.name} invited you to join Dub Partners`,